#126: Remove empty section from generated markup

This commit is contained in:
P. Ottlinger 2023-03-29 21:19:43 +02:00 committed by GitHub
parent 881c5b0194
commit 6d4b5c8df4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,13 +4,10 @@
<section class="copyright">{{ . | safeHTML }}</section>
{{ end }}
<section>{{ echoParam .Site.Params "hidebyline" }}</section>
{{ if ne .Site.Params.hidedesignbyline true }}
<section>
<a href="https://themes.gohugo.io/hugo-scroll/" target="_blank" rel="noopener">Hugo Scroll</a> template
</section>
{{ end }}
</div>
</footer>