blog/templates/partials/nav.html
Joe Ardent d5d971da3b mvp
2022-11-11 17:07:47 -08:00

25 lines
708 B
HTML

<header>
<div class="main">
<a href={{ config.base_url }}>{{ config.title }}</a>
<div class="socials">
{% for social in config.extra.socials %}
<a href="{{ social.url }}" class="social">
<img alt={{ social.name }} src="/social_icons/{{ social.icon }}.svg" rel="me">
{% if not loop.last %}
|
{% endif %}
</a>
{% endfor %}
</div>
</div>
<nav>
{% for menu in config.extra.menu %}
<a href={{ menu.url }} style="margin-left: 0.7em">{{ menu.name }}</a>
{% if not loop.last %}
|
{% endif %}
{% endfor %}
</nav>
</header>