summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorArun <me@arunmathaisk.in>2024-09-15 21:28:50 +0530
committerArun <me@arunmathaisk.in>2024-09-15 21:30:25 +0530
commite5f73a1ca562be7faf34df5bffdcd0e1a4d8aba3 (patch)
tree2c0a8bdfdd87cffbf3c6881567328a68430fe181 /layouts/partials
parent8eadf20c81a369a62a5d2a04cfe00b4ecddd55eb (diff)
fix: set deaflt value of showFooter as true
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html3
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>