</div>
{% if settings.USE_CUSTOM_HEADER|or_preview:request %}
<div id="custom_header">
- {{ settings.CUSTOM_HEADER|or_preview:request|safe }}
+ {{ settings.CUSTOM_HEADER|or_preview:request|static_content:settings.CUSTOM_HEADER_RENDER_MODE }}
</div>
{% endif %}
{% include "header.html" %}
{% if settings.USE_CUSTOM_FOOTER|or_preview:request %}
{% ifequal settings.CUSTOM_FOOTER_MODE|or_preview:request "above" %}
<div id="custom_footer">
- {{ settings.CUSTOM_FOOTER|or_preview:request|safe }}
+ {{ settings.CUSTOM_FOOTER|or_preview:request|static_content:settings.CUSTOM_FOOTER_RENDER_MODE }}
</div>
{% endifequal %}
<div id="ground">
{% ifequal settings.CUSTOM_FOOTER_MODE|or_preview:request "replace" %}
- {{ settings.CUSTOM_FOOTER|or_preview:request|safe }}
+ {{ settings.CUSTOM_FOOTER|or_preview:request|static_content:settings.CUSTOM_FOOTER_RENDER_MODE }}
{% else %}
{% include "footer.html" %}
{% endifequal %}
</div>
{% ifequal settings.CUSTOM_FOOTER_MODE|or_preview:request "below" %}
<div id="custom_footer">
- {{ settings.CUSTOM_FOOTER|or_preview:request|safe }}
+ {{ settings.CUSTOM_FOOTER|or_preview:request|static_content:settings.CUSTOM_FOOTER_RENDER_MODE }}
</div>
{% endifequal %}
{% else %}