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

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

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