mirror of
https://github.com/tomfran/typo.git
synced 2025-04-26 05:29:54 +03:00
fix: set deaflt value of showFooter as true
This commit is contained in:
parent
f5e298d412
commit
9f5d10de22
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue