From d1455f0f3d3c3eacb83fa40efa8fb8c4ecf09210 Mon Sep 17 00:00:00 2001 From: Mandel Olaiya Date: Tue, 17 Mar 2026 16:49:23 +0100 Subject: [PATCH] template-engine: force carbasa footer shell for mandelstudio --- mandelstudio/settings/base.py | 7 ++++++ .../mandelstudio/carbasa_footer.html | 24 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 mandelstudio/templates/mandelstudio/carbasa_footer.html diff --git a/mandelstudio/settings/base.py b/mandelstudio/settings/base.py index 3dc6654..cb93a21 100644 --- a/mandelstudio/settings/base.py +++ b/mandelstudio/settings/base.py @@ -64,3 +64,10 @@ ACTIVE_VERTICAL = "agency" # Wagtail content internationalization in admin WAGTAIL_I18N_ENABLED = True WAGTAIL_CONTENT_LANGUAGES = LANGUAGES + +# Force Template Engine shell to use Carbasa footer in this project +TEMPLATE_ENGINE_SHELL_CANDIDATES = { + "carbasa": { + "footer": ["mandelstudio/carbasa_footer.html"], + }, +} diff --git a/mandelstudio/templates/mandelstudio/carbasa_footer.html b/mandelstudio/templates/mandelstudio/carbasa_footer.html new file mode 100644 index 0000000..7834dde --- /dev/null +++ b/mandelstudio/templates/mandelstudio/carbasa_footer.html @@ -0,0 +1,24 @@ +{% load wagtailcore_tags wagtailsettings_tags %} +{% get_settings %} + +