fix: set deaflt value of showFooter as true
This commit is contained in:
parent
50e235108b
commit
ef9948b2ae
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user