parent
99dc3365eb
commit
8171dde83b
|
@ -1,6 +1,7 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ $headless := .Site.GetPage "/homepage" }}
|
{{ $headless := .Site.GetPage "/homepage" }}
|
||||||
{{ $sections := $headless.Resources.ByType "page" }}
|
{{ $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({{ . }})"{{ end }}>
|
||||||
<div class="vertical">
|
<div class="vertical">
|
||||||
<div id="site-head-content" class="inner">
|
<div id="site-head-content" class="inner">
|
||||||
|
|
Loading…
Reference in a new issue