X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/7d7bf25b6fb206343959d7f496ab4215fd1f3df6..64b2d51a7d52a03c37bc7c35fa90e111e257fd93:/forum/skins/default/templates/base_content.html diff --git a/forum/skins/default/templates/base_content.html b/forum/skins/default/templates/base_content.html index ac6b9da..4f0aa30 100644 --- a/forum/skins/default/templates/base_content.html +++ b/forum/skins/default/templates/base_content.html @@ -1,7 +1,6 @@ -{% load i18n %} -{% load extra_tags %} +{% load i18n extra_tags extra_filters markup %} {% block fulltitle %}{% block title %}{% endblock %} - {{ settings.APP_SHORT_NAME }}{% endblock %} @@ -14,6 +13,9 @@ {% endif %} + {% if settings.USE_CUSTOM_CSS|or_preview:request %} + + {% endif %} {% block forestyle %}{% endblock %} @@ -48,6 +50,9 @@ }); {% endif %} + {% if settings.USE_CUSTOM_HEAD|or_preview:request %} + {{ settings.CUSTOM_HEAD|or_preview:request|safe }} + {% endif %} {% block forejs %}{% endblock %} @@ -62,6 +67,11 @@ {% endautoescape %} × + {% if settings.USE_CUSTOM_HEADER|or_preview:request %} +
+ {{ settings.CUSTOM_HEADER|or_preview:request|markdown:"settingsparser" }} +
+ {% endif %} {% include "header.html" %} {% block page_center %}
@@ -79,7 +89,29 @@
{% endblock %} - {% include "footer.html" %} + {% if settings.USE_CUSTOM_FOOTER|or_preview:request %} + {% ifequal settings.CUSTOM_FOOTER_MODE|or_preview:request "above" %} + + {% endifequal %} +
+ {% ifequal settings.CUSTOM_FOOTER_MODE|or_preview:request "replace" %} + {{ settings.CUSTOM_FOOTER|or_preview:request|markdown:"settingsparser" }} + {% else %} + {% include "footer.html" %} + {% endifequal %} +
+ {% ifequal settings.CUSTOM_FOOTER_MODE|or_preview:request "below" %} + + {% endifequal %} + {% else %} +
+ {% include "footer.html" %} +
+ {% endif %} {% block endjs %} {% endblock %} {% if settings.GOOGLE_ANALYTICS_KEY %}