{# Site default framing and blocks from to #} {% block description %} {% include "site/description.html" %} {% endblock description %} {% block meta %} {% include "site/meta.html" %} {% endblock meta %} {% block css %} {% include "site/css.html" %} {% endblock %} {% block head_script %} {% if js_in_head %} {% include "site/javascript.html" %} {% endif %} {% endblock %} {% block extra_head %} {# Pages can register their page specific CSS/JS here #} {% endblock %} {# body_classes allows to insert extra CSS classes on tag #} {# body block contains the whole page without a navigation frame and the analytics script #} {% block body %} {# Navigation #} {% block header %} {% include "site/header.html" %} {% endblock header %} {# main is the content without margins and flash messages #} {% block main %}
{% block messages %} {% include "site/messages.html" %} {% endblock messages %}
{# content is the content with margins #}
{% block content %} {% endblock content %}
{% endblock main %} {% block footer %} {% include "site/footer.html" %} {% endblock footer %} {% block body_end %} {% endblock body_end %} {# script is shared site JavaScript #} {% block body_end_script %} {% if not js_in_head %} {% include "site/javascript.html" %} {% endif %} {% endblock body_end_script %} {# extra_body_end is page specific JavaScript #} {% block extra_body_end %} {% endblock extra_body_end %} {% endblock body %} {# analytics is tracking JavaScript #} {% block analytics %} {% include "site/analytics.html" %} {% endblock analytics %}