<ol class="nav-list">
  {% if request.user.is_authenticated %}
  <li class="nav-list__item"><a href="{% url 'index' %}">Home</a></li>
  <li class="nav-list__item"><a href="{% url 'news:core:categories' %}">Categories</a></li>
  <li class="nav-list__item"><a href="{% url 'news:collection:rules' %}">Sources</a></li>
  <li class="nav-list__item"><a href="{% url 'accounts:settings:home' %}">Settings</a></li>

  {% if request.user.is_superuser %}
  <li class="nav-list__item"><a href="{% url 'admin:index' %}">Admin</a></li>
  {% endif %}

  <li class="nav-list__item"><a href="{% url 'accounts:logout' %}">Logout</a></li>
  {% else %}
  <li class="nav-list__item"><a href="{% url 'accounts:login' %}">Login</a></li>
  {% endif %}
</ol>
