{% load staticfiles tethys_gizmos %} {# Allows custom attributes to be added to the html tag #} {% block htmltag %} {% endblock %} {# Allows custom attributes to be added to the head tag #} {% comment "meta explanation" %} Add custom meta tags to the page. Call block.super to get the default tags such as charset, viewport and generator. Example: {% block meta %} {{ block.super }} {% endblock %} {% endcomment %} {% block meta %} {% endblock %} {% comment "title explanation" %} Add a custom title to the page by extending the title block. Call block.super to get the default page title. Example: {% block title %}My Subtitle - {{ block.super }}{% endblock %} {% endcomment %} {% block title %} {% if site_globals.site_title %}{{ site_globals.site_title }}{% else %}Tethys{% endif %} {% endblock %} {% comment "links explanation" %} The links block allows you to add additional content before the stylesheets such as rss feeds and favicons in the same way as the meta block. {% endcomment %} {% block links %} {% if site_globals.favicon %}{% endif %} {% endblock %} {% comment "styles explanation" %} The styles block allows you to add additional stylesheets to the page in the same way as the meta block. Use block.super to include the default stylesheets before or after your own. Example: {% block styles %} {{ block.super }} {% endblock %} {% endcomment %} {% block styles %} {% endblock %} {% block global_scripts %} {% endblock %} {# Allows custom attributes to be added to the body tag #} {% block app_content_wrapper_override %}
{% block app_header_override %}
{% block app-navigation-toggle-override %}
{% endblock %} {% block app_icon_override %}
{% block app_icon %}{% endblock %}
{% endblock %} {% block app_title_override %}
{% block app_title %}{{ tethys_app.name }}{% endblock %}
{% endblock %} {% block exit_button_override %} {% endblock %}
{% endblock %} {% block app_content_override %}
{# Off canvas navigation menu #} {% block app_navigation_override %}
{% block app_navigation %} {% endblock %}
{% endblock %} {# App content starts here #}
{% block app_content %}{% endblock %} {# App actions are fixed to the bottom #} {% block app_actions_override %}
{% block app_actions %}{% endblock %}
{% endblock %}
{% endblock %}
{% endblock %} {% comment "scripts explanation" %} Use this block for adding scripts. Call with block.super to include the default scripts. Example: {% block scripts %} {{ block.super }} {% endblock %} {% endcomment %} {% block scripts %} {% gizmo_dependencies %} {% endblock %}