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
Former-commit-id: ef9948b2ae
Former-commit-id: b8fa29de7e836bd977fd7e604b85d61f6e1c6924
This commit is contained in:
parent
9eb40df91b
commit
d5d1da1c5c
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