{% load staticfiles %}
<header class="site-header">
    <div class="wrapper">
        <div class="site-title">
            {% if site_logo == "logos/snc.svg" %}
                <img src="{% static site_logo %}" style="width: 60px" class="site-icon"/>
            {% else %}
                <img src="{% static site_logo %}" class="site-icon"/>
            {% endif %}
            <a href="/" class="site-title-text">{{ site.header }}</a>
        </div>
        <div class="site-login">
            {% if user.is_authenticated %}
                <form action="/_logout/" method="POST">
                    {% csrf_token %}
                    {% if user.is_staff %}
                        <a href="{% url 'admin:index' %}">Admin</a>
                    {% endif %}
                    <input type="hidden" value="{{ request.path }}" name="next">
                    <input type="submit" value="Log out">
                </form>
            {% else %}
                <a href="{% url 'topics:create_account' %}">Create account</a>
                <a href="{% url 'topics:login' %}?fromlink=true&next={{ request.path }}">Log in</a>
            {% endif %}
        </div>
        <nav class="site-nav {% if editing_topic %}editing-topic{% endif %}">
            {% include 'includes/navbar.html' with top_tags=top_tags_first %}
        </nav>
    </div>
</header>

{% load staticfiles %}
<header class="site-header">
    <div class="wrapper">
        <div class="site-title">
            {% if site_logo == "logos/snc.svg" %}
                <img src="{% static site_logo %}" style="width: 60px" class="site-icon"/>
            {% else %}
                <img src="{% static site_logo %}" class="site-icon"/>
            {% endif %}
            <a href="/" class="site-title-text">{{ site.header }}</a>
        </div>
        <div class="site-login">
            {% if user.is_authenticated %}
                <form action="/_logout/" method="POST">
                    {% csrf_token %}
                    {% if user.is_staff %}
                        <a href="{% url 'admin:index' %}">Admin</a>
                    {% endif %}
                    <input type="hidden" value="{{ request.path }}" name="next">
                    <input type="submit" value="Log out">
                </form>
            {% endif %}
        </div>
        <nav class="site-nav {% if editing_topic %}editing-topic{% endif %}">
            {% include 'includes/navbar.html' with top_tags=top_tags_first %}
        </nav>
    </div>
</header>

Revert "Revert "Remove user login""
Revert "Revert "Remove user login""

This reverts commit 5f6d63b3f4da161f0199815e11a46f03c73083cf.
