X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..f76d8997ce081a9f2dfca9b875405362ece3608e:/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 d1cf673..76eec6e 100644 --- a/forum/skins/default/templates/base_content.html +++ b/forum/skins/default/templates/base_content.html @@ -1,44 +1,66 @@ -{% load i18n %} -{% load extra_tags %} +{% load i18n extra_tags extra_filters markup ui_registry %} - {% block title %}{% endblock %} - {{ settings.APP_TITLE }} + {% block fulltitle %}{% block title %}{% endblock %} - {{ settings.APP_SHORT_NAME }}{% endblock %} + + + {% block meta %}{% endblock %} {% if settings.GOOGLE_SITEMAP_CODE %} {% endif %} - + - {% spaceless %} + {% if settings.USE_CUSTOM_CSS|or_preview:request %} + + {% endif %} {% block forestyle %}{% endblock %} - {% endspaceless %} - + - - - + {% if user_messages %} {% endif %} - - {% block forejs %} - {% endblock %} + {% if settings.USE_CUSTOM_HEAD|or_preview:request %} + {{ settings.CUSTOM_HEAD|or_preview:request|markdown:"settingsparser" }} + {% endif %} + {% block forejs %}{% endblock %} + + {% loadregistry head_content %}{% endloadregistry %} + {% if settings.USE_CUSTOM_HEADER|or_preview:request %} +
+ {{ settings.CUSTOM_HEADER|or_preview:request|safe }} +
+ {% endif %} {% include "header.html" %} + {% block page_center %}
@@ -66,9 +94,45 @@
- {% include "footer.html" %} + {% endblock %} + {% 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 %} + + {% endif %}