{% load static %}
{% block extra_head %}{% endblock %}
{{ config.site_name }}
{% if user.is_authenticated %}
Compose
Settings
{% if request.user.admin %}
Admin
{% endif %}
{% if not request.identity %} No Identity
{% elif request.identity.icon_uri %} {{ request.identity.username }}
@{{ request.identity.domain_id }}
{% else %} {{ request.identity.username }}
@{{ request.identity.domain_id }}
{% endif %}
{% else %}
Login
{% endif %}
{% block content %} {% endblock %}