forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
4e53400cc4
commit
320d39d608
|
@ -28,5 +28,5 @@
|
|||
{{ $img = (index (.Resources.ByType "image") 0).Fill "1280x480 smart" }}
|
||||
<div style="background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url({{- $img.Permalink -}});" class="banner banner-shadow"><h1 class="dark-shadow">{{ $title }}</h1></div>
|
||||
{{ else }}
|
||||
<div class="banner"><h1>{{ $title }}</h1></div>
|
||||
<div style="background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1))" class="banner"><h1>{{ $title }}</h1></div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user