fix: set deaflt value of showFooter as true

This commit is contained in:
Arun 2024-09-15 21:28:50 +05:30
parent f5e298d412
commit 9f5d10de22

View file

@ -1,4 +1,5 @@
{{ if .Site.Params.showFooter }}
{{ $showFooter := default true .Site.Params.showFooter }}
{{ if $showFooter }}
{{ if not .Site.Params.footerContent }}
<p>Powered by
<a href="https://gohugo.io/">Hugo</a>