From 1f5c5f82e2236836aae1b58dfaa2071d6291496b Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Thu, 16 Dec 2021 19:55:57 -0600 Subject: [PATCH] include 'powered by' in footer --- i18n/en.toml | 6 ++++++ layouts/partials/footer.html | 14 ++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 layouts/partials/footer.html diff --git a/i18n/en.toml b/i18n/en.toml index f56b4b2..3e33c8c 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -3,3 +3,9 @@ other = "On this page" [series_posts] other = "More " + +[all_rights] +other = "All Rights Reserved" + +[powered_by] +other = "Powered by Hugo, Clarity, GitLab, and Netlify" \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..b24177e --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,14 @@ +{{- $s := .Site.Params }} +{{ $t := .Site.Title }} +{{- if or .Params.enableMathNotation $s.enableMathNotation }} + {{ partialCached "math" . }} +{{- end }} +{{- $iconsDir := default "icons/" .Site.Params.iconsDir }} +{{- $defaultFooterLogo := printf "%s%s" $iconsDir "apple-touch-icon.png"}} +