{% if g.oidc_user.logged_in and g.oidc_user.awarded_assertions %} {% endif %}
{{ config["TAHRIR_TITLE"] }}
{% block head %}{% endblock %}
About
Explore
Leaderboard
{% if g.oidc_user.logged_in %}
Profile
{% endif %} {% if g.oidc_user.logged_in %} {% if g.oidc_user.is_admin %}
Admin
Database Admin
{% endif %}
Logout
{% else %}
Login
{% endif %}
{% with flash_messages = get_flashed_messages() %} {% if flash_messages %}
{% for message in flash_messages %}
{{ message }}
{% endfor %}
{% endif %} {% endwith %} {% block body %}{% endblock %}