      <!-- Collect the nav links, forms, and other content for toggling -->
          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
              {% if user.is_authenticated %}
                  <li class="{% if 'home' in request.path %} active {% endif %}"><a href="{% url 'home' %}"> {% trans "Home" %} <span class="sr-only">(current)</span></a></li>
                  <li class="{% if 'blog' in request.path %} active {% endif %}"><a id="id_s