From 8649bd37169807f1459d355fd985c7f2e7d6db02 Mon Sep 17 00:00:00 2001 From: Paul Winkler Date: Wed, 8 May 2024 16:15:04 -0400 Subject: [PATCH] Gum: Add support for injecting markup to footer via overriding extra_footer.html template --- gum/README.md | 4 ++++ gum/templates/base.html | 1 + gum/templates/extra_footer.html | 1 + 3 files changed, 6 insertions(+) create mode 100644 gum/templates/extra_footer.html diff --git a/gum/README.md b/gum/README.md index 2a2380534..75091c02b 100644 --- a/gum/README.md +++ b/gum/README.md @@ -44,6 +44,10 @@ To use Disqus, add the Disqus site name via the following variable. DISQUS_SITENAME = '' ``` + +To add content or markup to the footer of every page: Add an `extra_footer.html` file to +a directory in your `THEME_TEMPLATES_OVERRIDES` path. It is empty by default. + Other features include: ``` diff --git a/gum/templates/base.html b/gum/templates/base.html index 998cac0ae..bb455491f 100644 --- a/gum/templates/base.html +++ b/gum/templates/base.html @@ -122,6 +122,7 @@

{{ SITENAME }} {{ SITESUBTITLE }}<