fix: set deaflt value of showFooter as true

This commit is contained in:
Arun 2024-09-15 21:28:50 +05:30
parent 50e235108b
commit ef9948b2ae

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>