{%- macro static(some_file) -%} {{ url_for('.static', filename=some_file) }} {%- endmacro -%} {% block title %}{% endblock title %} {% block extra_head %} {% endblock extra_head %}
{% block nav %} {% endblock nav %}
{% block content %}
{% if get_flashed_messages(with_categories=true) %} {% for category, msg in get_flashed_messages(with_categories=true) %}
{{ msg }}
{% endfor %} {% endif %} {% block main %} {% endblock main %}
{% endblock content %}