266: Added option to disable the space between the header and the footer when using heroStyle: background

This commit is contained in:
Anton Antonov committed 2022-11-22 12:55:24 +02:00
1 parent f4b919681e
commit d024ad961b
6 files changed
+14 -3

No files matched your search

+2
View File
@@ -1,4 +1,6 @@
{{ define "main" }}
{{ .Scratch.Set "scope" "single" }}
<article>
{{ if .Params.showHero | default (.Site.Params.article.showHero | default false) }}
{{ $heroStyle := print "partials/hero/" .Site.Params.article.heroStyle ".html" }}