diff options
| author | Arun <me@arunmathaisk.in> | 2024-09-15 21:28:50 +0530 | 
|---|---|---|
| committer | Arun <me@arunmathaisk.in> | 2024-09-15 21:30:25 +0530 | 
| commit | e5f73a1ca562be7faf34df5bffdcd0e1a4d8aba3 (patch) | |
| tree | 2c0a8bdfdd87cffbf3c6881567328a68430fe181 | |
| parent | 8eadf20c81a369a62a5d2a04cfe00b4ecddd55eb (diff) | |
fix: set deaflt value of showFooter as true
| -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> | 
