{% macro title() %} {% block title %}{% endblock %} {% endmacro %} {% from "elements/upload.html" import upload_button_modal %} {{ title() }} - {{ config['SITE_NAME'] }} {% block styles %}{% endblock %} {% block body %}
Home {% block nav %} {% endblock %} {% include "nav.html" %}

{% if not current_user or current_user.is_anonymous %} Log in {% else %} {% endif %} {% if current_user and current_user.is_anonymous and current_user.is_authenticated %} Register {% endif %}

{% block pageheader %}
{% endblock %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %} {% block content %} {% endblock %}
{% include "footer.html" %} {% endblock %} {% block scripts %}{% endblock %}