{# keep scripts after css to avoid flash of unstyled layout #} {% block head %} {# UI plugin templates can insert content here #} {% endblock %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
    {% for category, message in messages %}
  • {{ message }}
  • {% endfor %}
{% endif %} {% endwith %} {% block main %}

Error: Main content not set!

{% endblock %}
{# javascripts should be positioned at the bottom of the html since they block other requests #}