mat.services/templates/partials/nav.html

15 lines
475 B
HTML

<header>
<div class="main brand">
<a href={{ config.base_url }}><img class=logo src="/favicon.svg" />{{ config.title }}</a>
</div>
<nav>
{% for menu in config.extra.menu %}
{%- if menu.external %}
<a href={{ menu.url }} style="margin-left: 0.7em" target="_blank" rel="noopener noreferrer">{{ menu.name }}</a>
{%- else %}
<a href={{ menu.url }} style="margin-left: 0.7em">{{ menu.name }}</a>
{%- endif -%}
{% endfor %}
</nav>
</header>