small fixes

This commit is contained in:
teldra 2022-05-09 21:39:21 +02:00
parent 4e53400cc4
commit 320d39d608

View File

@ -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 }}