16 lines
501 B
HTML
16 lines
501 B
HTML
<header>
|
|
<div class="main brand">
|
|
<a href={{ config.base_url }}><img class=logo src="/favicon.svg" alt="" />{{ config.title }}</a>
|
|
</div>
|
|
|
|
<nav>
|
|
{% for menu in config.extra.menu %}
|
|
{%- set external = menu.external | default(value=false) -%}
|
|
{%- if external %}
|
|
<a href={{ menu.url }} target="_blank" rel="noopener noreferrer">{{ menu.name }}</a>
|
|
{%- else %}
|
|
<a href={{ get_url(path=menu.url) }}>{{ menu.name }}</a>
|
|
{%- endif -%}
|
|
{% endfor %}
|
|
</nav>
|
|
</header> |