diff options
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r-- | layouts/partials/footer.html | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 9f307e1..e8f0096 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,8 +1,17 @@ -<p>Powered by - <a href="https://gohugo.io/">Hugo</a> - and - <a href="https://github.com/tomfran/typo">tomfran/typo</a> -</p> +{{ $showFooter := default true .Site.Params.showFooter }} +{{ if $showFooter }} + {{ if not .Site.Params.footerContent }} + <p>Powered by + <a href="https://gohugo.io/">Hugo</a> + and + <a href="https://github.com/tomfran/typo">tomfran/typo</a> + </p> + {{ end }} + + {{ with .Site.Params.footerContent }} + <p>{{ . | markdownify }}</p> + {{ end }} +{{ end }} {{ if .Param "math" }} {{ partialCached "math.html" . }} |