{% if error %}
{% include 'snippets/error.html' %}
{% else %}
{% block main %}{% endblock %}
{% endif %}
{% include 'snippets/footer.html' %}
{% include 'snippets/google_analytics.html' %}
{% if not error %}
{% block modals %}{% endblock %}
{% block libraries %}{% endblock %}
{% endif %}