mat.services/templates/partials/nav.html

15 lines
475 B
HTML
Raw Normal View History

2022-08-08 04:31:56 +00:00
<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>