forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
fafe85ca98
commit
7fd5961a78
|
@ -1,8 +1,8 @@
|
|||
.b {
|
||||
height: calc(100vw / 3.5 );
|
||||
height: calc(100vw / 4.5 );
|
||||
}
|
||||
.b_index {
|
||||
height: calc(100vw / 3.5 );
|
||||
height: calc(100vw / 4.5 );
|
||||
}
|
||||
|
||||
.banner {
|
||||
|
@ -39,6 +39,7 @@
|
|||
}
|
||||
.altbg {
|
||||
background: var(--background-alt);
|
||||
height: calc(100vw / 5.5 );
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
|
|
|
@ -123,10 +123,11 @@
|
|||
{{ else }}
|
||||
<div class="banner b altbg">
|
||||
{{ if eq hugo.Environment "development" }}
|
||||
<div style="color: red; background: white;">
|
||||
{{ if eq .Params.banner false }}
|
||||
banner is off
|
||||
<div style="color: black; background: white;">
|
||||
Info: Banner is turned off for this.
|
||||
{{ else }}
|
||||
<div style="color: red; background: white;">
|
||||
{{ if eq $single true }}
|
||||
{{ with .File }}
|
||||
{{ printf "content/%sbanner* missing.." .Dir }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user