diff options
-rw-r--r-- | layouts/partials/footer.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5e97056..e8f0096 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -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> |