From 42dc7faf86845fbfe55855833a55410a392fac29 Mon Sep 17 00:00:00 2001 From: Ludger Sicking Date: Wed, 22 Jan 2025 08:25:42 +0100 Subject: [PATCH] Alternative: (c) durch eigenes Footer-Partial --- sb/hugo.yaml | 1 - sb/layouts/partials/footer.html | 145 ++++++++++++++++++++++++++++++++ 2 files changed, 145 insertions(+), 1 deletion(-) create mode 100644 sb/layouts/partials/footer.html diff --git a/sb/hugo.yaml b/sb/hugo.yaml index cd2c0c3..4d530e1 100644 --- a/sb/hugo.yaml +++ b/sb/hugo.yaml @@ -3,7 +3,6 @@ defaultContentLanguage: de languageCode: de title: oer.community theme: PaperMod -copyright: "[CC BY](https://creativecommons.org/licenses/by/4.0/) 2025 [Comenius-Institut](https://comenius.de) Förderkennzeichen BMBF: [01PO23012A](https://www.oer-strategie.de/projects/foerbico-projektsteckbrief/)" menus: main: diff --git a/sb/layouts/partials/footer.html b/sb/layouts/partials/footer.html new file mode 100644 index 0000000..ceb05a4 --- /dev/null +++ b/sb/layouts/partials/footer.html @@ -0,0 +1,145 @@ + + +{{- if (not site.Params.disableScrollToTop) }} + + + + + +{{- end }} + + + + +{{- if (not site.Params.disableScrollToTop) }} + +{{- end }} + +{{- if (not site.Params.disableThemeToggle) }} + +{{- end }} + +{{- if (and (eq .Kind "page") (ne .Layout "archives") (ne .Layout "search") (.Param "ShowCodeCopyButtons")) }} + +{{- end }}