{%- set locale = get_locale() %} {% block page_title %}{{ config.SITE_NAME }}{% endblock %} {%- assets "css" %} {%- endassets %} {%- block css %}{%- endblock %} {%- assets "js-top" %} {%- endassets %} {%- block top_js %}{%- endblock %} {%- block body %} {#- accessibility link: see http://getbootstrap.com/getting-started/#accessibility #} {{ _("Skip to content") }} {% include "navbar.html" %}
{% include "breadcrumbs.html" %}
{%- include "flash-messages.html" %}
{% block header %} {%- endblock %}
{% block main %} {% block content %} {% endblock %} {%- endblock %}
{%- block footer %} {%- endblock %} {%- endblock %} {%- assets "js" %} {%- endassets %} {%- block js %}{%- endblock %} {# 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 %} {#- '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 %}