{%- set locale = get_locale() %}{%- set full_width = full_width|default(False) %} {% block page_title %} {{ config.SITE_NAME }}{% endblock page_title %} {%- assets "css" %} {%- endassets %} {%- block css %}{%- endblock css %} {% block ie_support %} {%- endblock ie_support %} {%- assets "js-top" %} {%- endassets %} {%- if app.config.get('SENTRY_INSTALL_CLIENT_JS', True) and app.extensions.get('sentry') %} {%- set ext = app.extensions['sentry'] %} {%- endif %} {%- block top_js %}{%- endblock top_js %} {%- block body %} {#- accessibility link: see http://getbootstrap.com/getting-started/#accessibility #} {{ _("Skip to content") }} {% include "navbar.html" %}
{% if g.breadcrumb|length > 1 %}
{% include "breadcrumbs.html" %}
{% endif %}
{%- include "flash-messages.html" %}
{% block header %} {%- endblock header %}
{% block main %} {% block content %} {% endblock content %} {%- endblock main %}
{%- block footer %} {%- endblock footer %} {%- endblock body %} {%- assets "js" %} {%- endassets %} {%- block js %}{%- endblock js %} {# this block should be used to load additional libraries #} {#- i18n bundles #} {%- set js_i18n_bundle = "js-i18n-" + locale.language %} {%- if js_i18n_bundle in app.extensions['webassets'] %} {%- assets js_i18n_bundle %} {%- endassets %} {%- endif %} {% block locale_js %} {% endblock locale_js %} {#- 'abilian_init.js' will load additional libraries by writing new 'script' tags. We put deferred JS and inline_js in a separate script tag so that the code is executed after thoses libraries have been loaded. #} {%- if config.TRACKING_CODE_SNIPPET %} {{ config.TRACKING_CODE_SNIPPET | safe }} {%- endif %}