{% if not is_admin %} {% endif %} {% block head %}{% endblock %}
{% if is_admin %}
{% macro admin_menu_item(url, text) %} {% set url_for = BASE_URL + request.app.router.url_path_for(url) %}
  • {{ text }} {% if (url == 'get_notifications') and (notifications_count) %}{{ notifications_count }}{% endif %}
  • {% endmacro %}
    {% endif %} {% block content %}{% endblock %} {% block footer %} {% include "footer.html" %} {% endblock %}
    {% if is_admin %} {% endif %}