{% extends "theme.html" %}
{% load static %}

{# map menu icons #}
{% block extra_css %}
<style>
  {% if menu_icons %}
  {% for icon, slug in menu_icons.items %}
    div.gru-nav > ul > li.menu-{{ slug }} > a {
      background-image: url("{{site_base}}{% static "" %}{{css_variant}}/img/menu/{{ icon }}.svg");
    }
  {% endfor %}
  {% endif %}
</style>
{% endblock %}

{# move nav inside header #top #}
{% block header-content %}
  {{ block.super }}
  {% block nav %}{% endblock %}
{% endblock %}
{% block after-header %}{% endblock %}
