<nav id="nav" class="navbar" role="navigation" aria-label="main navigation">
  {% load static %}
  <div class="navbar-brand">
    <a class="navbar-item" href="{% url 'home' %}">
      <img src="{% static 'img/logo-mauflix.png' %}" width="112" height="28">
    </a>
    <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="menu">
      <span aria-hidden="true"></span>
      <span aria-hidden="true"></span>
      <span aria-hidden="true"></span>
    </a>
  </div>
  <div id="menu" class="navbar-menu force-display">
    <div class="navbar-start">
      {% if request.get_full_path != "/" %}
        <a class="navbar-item" href="{% url 'home' %}">Inicio</a>
      {% endif %}
      {% if request.get_full_path != "/search/" %}
        <a class="navbar-item" href="{% url 'search' %}">Buscar</a>
      {% endif %}
      <div class="navbar-item has-dropdown is-hoverable">
        <a class="navbar-link">Más</a>
        <div class="navbar-dropdown">
          <a class="navbar-item" href="{% url 'about' %}" >Acerca</a>
          <hr class="navbar-divider">
          <a class="navbar-item" href="{% url 'bugs' %}">Reporta un problema</a>
        </div>
      </div>
    </div>
    <div class="navbar-end">
      <div class="navbar-item">
        <div class="buttons">
          <a class="button is-primary" href="{% url 'admin:index' %}">Ingresa</a>
        </div>
      </div>
    </div>
  </div>
</nav>
