From e565f6afa20f81f75ff4fab1f29e1c672a33b3eb Mon Sep 17 00:00:00 2001 From: Arun Date: Sun, 15 Sep 2024 00:00:26 +0530 Subject: feat: show generic footer --- layouts/partials/footer.html | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'layouts/partials/footer.html') diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 9f307e1..5e97056 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,8 +1,16 @@ -

Powered by - Hugo - and - tomfran/typo -

+{{ if .Site.Params.showFooter }} + {{ if not .Site.Params.footerContent }} +

Powered by + Hugo + and + tomfran/typo +

+ {{ end }} + + {{ with .Site.Params.footerContent }} +

{{ . | markdownify }}

+ {{ end }} +{{ end }} {{ if .Param "math" }} {{ partialCached "math.html" . }} -- cgit v1.2.3