diff --git a/mandelstudio/settings/base.py b/mandelstudio/settings/base.py index 8538568..cb93a21 100644 --- a/mandelstudio/settings/base.py +++ b/mandelstudio/settings/base.py @@ -65,3 +65,9 @@ ACTIVE_VERTICAL = "agency" 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/engine/pages/base_home_page.html b/mandelstudio/templates/engine/pages/base_home_page.html deleted file mode 100644 index 2bf63bb..0000000 --- a/mandelstudio/templates/engine/pages/base_home_page.html +++ /dev/null @@ -1,50 +0,0 @@ -{% extends "layout.html" %} -{% load wagtailcore_tags oxyan static string_filters %} - -{% block extrahead %} - {{ block.super }} - - - - {% include "engine/partials/gym_theme_overrides.html" %} - {% include "engine/partials/hotel_theme_overrides.html" %} - {% include "engine/partials/auto_theme_overrides.html" %} - {% include "engine/partials/bank_theme_overrides.html" %} - {% include "engine/partials/pharmacy_theme_overrides.html" %} - {% include "engine/partials/realty_theme_overrides.html" %} - {% include "engine/partials/tech_theme_overrides.html" %} - {% include "engine/partials/travel_theme_overrides.html" %} - {% include "engine/partials/saas_theme_overrides.html" %} -{% endblock %} - -{% block layout %} - - Ga naar inhoud - - {% include_header header_template|default:"engine/partials/header.html" %} -
-
-
- {% for block in self.body %} - {% with scope_class=block.block_type|split:"_"|join:"-" %} -
- {% include_block block %} -
- {% endwith %} - {% endfor %} -
-
-
- - {# Use Carbasa-native footer rendering so visual shell matches carbasa sites #} - {% if not self.footer %} - - {% endif %} - {% include "oxyan/partials/footer.html" %} -{% endblock %} diff --git a/mandelstudio/templates/engine/pages/base_standard_page.html b/mandelstudio/templates/engine/pages/base_standard_page.html deleted file mode 100644 index ed0410d..0000000 --- a/mandelstudio/templates/engine/pages/base_standard_page.html +++ /dev/null @@ -1,53 +0,0 @@ -{% extends "layout.html" %} -{% load wagtailcore_tags oxyan static string_filters %} - -{% block extrahead %} - {{ block.super }} - - - - {% include "engine/partials/gym_theme_overrides.html" %} - {% include "engine/partials/hotel_theme_overrides.html" %} - {% include "engine/partials/auto_theme_overrides.html" %} - {% include "engine/partials/bank_theme_overrides.html" %} - {% include "engine/partials/pharmacy_theme_overrides.html" %} - {% include "engine/partials/realty_theme_overrides.html" %} - {% include "engine/partials/tech_theme_overrides.html" %} - {% include "engine/partials/travel_theme_overrides.html" %} - {% include "engine/partials/saas_theme_overrides.html" %} -{% endblock %} - -{% block layout %} - - Ga naar inhoud - - {% include_header header_template|default:"engine/partials/header.html" %} -
-
-
-
-

{{ self.title }}

- {% for block in self.body %} - {% with scope_class=block.block_type|split:"_"|join:"-" %} -
- {% include_block block %} -
- {% endwith %} - {% endfor %} -
-
-
-
- - {# Use Carbasa-native footer rendering so visual shell matches carbasa sites #} - {% if not self.footer %} - - {% endif %} - {% include "oxyan/partials/footer.html" %} -{% endblock %} diff --git a/mandelstudio/templates/mandelstudio/carbasa_footer.html b/mandelstudio/templates/mandelstudio/carbasa_footer.html new file mode 100644 index 0000000..7d1b64c --- /dev/null +++ b/mandelstudio/templates/mandelstudio/carbasa_footer.html @@ -0,0 +1,66 @@ +{% load wagtailcore_tags wagtailsettings_tags %} +{% get_settings %} + + + +