X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/ab96c745190199d41ceda9e7bfb4c1794fc2f890..1d2ed435b83b7f428e0615f7a78e21e8672c3c75:/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 3e9c19f..021437c 100644
--- a/forum/skins/default/templates/base_content.html
+++ b/forum/skins/default/templates/base_content.html
@@ -1,12 +1,11 @@
-{% load i18n %}
-{% load extra_tags %}
+{% load i18n extra_tags extra_filters markup ui_registry %}
{% block fulltitle %}{% block title %}{% endblock %} - {{ settings.APP_SHORT_NAME }}{% endblock %}
-
-
+
+
{% block meta %}{% endblock %}
{% if settings.GOOGLE_SITEMAP_CODE %}
@@ -14,13 +13,20 @@
{% endif %}
+ {% if settings.USE_CUSTOM_CSS|or_preview:request %}
+
+ {% endif %}
+
{% block forestyle %}{% endblock %}
-
+
@@ -48,8 +59,12 @@
});
{% endif %}
+ {% if settings.USE_CUSTOM_HEAD|or_preview:request %}
+ {{ settings.CUSTOM_HEAD|or_preview:request|safe }}
+ {% endif %}
{% block forejs %}{% endblock %}
+ {% loadregistry head_content %}{% endloadregistry %}
@@ -62,6 +77,11 @@
{% endautoescape %}
×
+ {% if settings.USE_CUSTOM_HEADER|or_preview:request %}
+
+ {% endif %}
{% include "header.html" %}
{% block page_center %}
{% 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|static_content:settings.CUSTOM_FOOTER_RENDER_MODE }}
+ {% 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 %}