production refresh

This commit is contained in:
2026-04-09 00:42:40 +02:00
parent 7db05fea47
commit 8bfd4d789b
20 changed files with 758 additions and 17 deletions

View File

@@ -0,0 +1,36 @@
{% load staticfiles %}
{% load wagtailcore_tags wagtailimages_tags wagtailsettings_tags cache mandelstudio_footer %}
{% get_settings %}
{% localized_footer_content as localized_footer %}
{% cache 300 footer_menu LANGUAGE_CODE request.site %}
<footer class="footer">
<div class="container">
<div class="row">
{% with footer=localized_footer.footer|default:settings.ocyan_plugin_wagtail.OcyanSettings.footer %}
{% for block in footer %}
<div class="col-lg-3 col-md-6 col-sm-12 footer_column {{ block.block_type|slugify }}">
{% include_block block %}
</div>
{% endfor %}
{% endwith %}
</div>
</div>
</footer>
<section class="copyright_wrapper">
<div class="container">
<div class="row">
<div class="col-lg-12 copyright_block">
{% if localized_footer and localized_footer.mini_footer %}
{% for block in localized_footer.mini_footer %}
{% include_block block %}
{% endfor %}
{% else %}
{% include_block settings.ocyan_plugin_wagtail.OcyanSettings.mini_footer %}
{% endif %}
</div>
</div>
</div>
</section>
{% endcache %}