Update themes/hugo-scroll/layouts/index.html
All checks were successful
website / prod-build (push) Successful in 5s

This commit is contained in:
Lillet Berthold 2023-08-04 16:04:57 +02:00
parent 42d73bb0a7
commit 681b84a752

View File

@ -2,7 +2,7 @@
{{ $headless := .Site.GetPage "/homepage" }}
{{ $sections := $headless.Resources.ByType "page" }}
{{ $sections := cond .Site.BuildDrafts $sections (where $sections "Draft" "==" false) }}
<header id="site-head" {{ with .Params.header_image }}style="background-image: url({{ . }})"{{ end }}>
<header id="site-head" {{ with .Params.header_image }}style="background-image: url({{ . }})background-position-y:0;"{{ end }}>
<div class="vertical">
<div id="site-head-content" class="inner">