{% load i18n %}

<div class="navbar navbar-default navbar-fixed-top" role="navigation">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="{% url 'index' %}">{{ common.SITE_NAME }}</a>
    </div>
    <div class="navbar-collapse collapse">
      <ul class="nav navbar-nav">
        {% url 'blog' as blog_url %}
        <li {% if blog_url == request.path %}class="active"{% endif %}><a href="{{ blog_url }}">{% trans 'Blog' %}</a></li>
      </ul>
    </div>
  </div>
</div>