diff --git a/mandelstudio/settings/base.py b/mandelstudio/settings/base.py index cb93a21..3dc6654 100644 --- a/mandelstudio/settings/base.py +++ b/mandelstudio/settings/base.py @@ -64,10 +64,3 @@ 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/engine/pages/base_home_page.html b/mandelstudio/templates/engine/pages/base_home_page.html new file mode 100644 index 0000000..4d88895 --- /dev/null +++ b/mandelstudio/templates/engine/pages/base_home_page.html @@ -0,0 +1,45 @@ +{% 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 %} +
+
+
+ {% 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 new file mode 100644 index 0000000..82dedc7 --- /dev/null +++ b/mandelstudio/templates/engine/pages/base_standard_page.html @@ -0,0 +1,48 @@ +{% 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 %} +
+
+
+
+ {% 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 deleted file mode 100644 index 7d1b64c..0000000 --- a/mandelstudio/templates/mandelstudio/carbasa_footer.html +++ /dev/null @@ -1,66 +0,0 @@ -{% load wagtailcore_tags wagtailsettings_tags %} -{% get_settings %} - - - -