{# Example base template for the site #} {# TODO: Extend or copy this in {SITE_NAME}/templates/base.html #} {% load static %} {% load projectroles_tags %} {% load projectroles_common_tags %} {% load rules %} {# Local variables #} {% get_django_setting 'SITE_TITLE' as site_title %} {% get_django_setting 'SITE_SUBTITLE' as site_subtitle %} {% get_django_setting 'PROJECTROLES_INLINE_HEAD_INCLUDE' as inline_head_include %} {% get_django_setting 'PROJECTROLES_DISABLE_CDN_INCLUDES' as disable_cdn_includes %} {% get_django_setting 'PROJECTROLES_CUSTOM_JS_INCLUDES' as custom_js_includes %} {% get_django_setting 'PROJECTROLES_CUSTOM_CSS_INCLUDES' as custom_css_includes %} {{ site_title }}{% if site_subtitle %} {{ site_subtitle }}{% endif %}: {% block title %}Page Title{% endblock title %} {% if inline_head_include %} {{ inline_head_include | safe }} {% endif %} {% block head_javascript %} {# NOTE: The rest are included under the "javascript" block at the end #} {% if not disable_cdn_includes %} {% endif %} {# Custom Javascript includes #} {% for js_inc in custom_js_includes %} {% endfor %} {% endblock head_javascript %} {% block css %} {% if not disable_cdn_includes %} {% endif %} {# Custom CSS includes #} {% for css_inc in custom_css_includes %} {% endfor %} {% endblock css %} {% block head_extend %} {# Extended head stuff from apps goes here #} {% endblock head_extend %}
{# Projectroles site title bar #} {% include 'projectroles/_site_titlebar.html' %}
{% block content %}

Use this document as a way to quick start any new project.

{% endblock content %}
{# Custom template for Bootstrap4 modal #} {% block modal %} {% include 'projectroles/_modal.html' %} {% endblock modal %} {# Include additional Javascript here #} {% block javascript %} {% include 'projectroles/_appalerts_include.html' %} {% endblock javascript %}