{% import "macros/button.html" as button %} 

{% macro nav_list(device="computer") %}
    {% if device == "computer" %}
        <ul class="nav-list">
    {% else %}
        <ul class="nav-list-mobile">
    {% endif %}

        {# Custom navigation listings. Add more in `config.toml`! #}
        {% if config.extra.header_nav %} 
            {% for s in config.extra.header_nav.get %}
                <li>
                    {% set url = get_url(path=s.link, trailing_slash=false) %}
                    {% if c