blog/templates/partials/nav.html

30 lines
745 B
HTML
Raw Normal View History

2022-11-12 01:07:47 +00:00
<header>
2023-01-18 23:44:40 +00:00
<div class="config-title">
<h1><a href={{ config.base_url }}>{{ config.title }}</a></h1>
</div>
2022-11-12 01:07:47 +00:00
<div class="main">
<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">
2023-01-18 23:44:40 +00:00
</a>
2022-11-12 01:07:47 +00:00
{% if not loop.last %}
|
{% endif %}
{% endfor %}
</div>
2023-01-18 23:44:40 +00:00
</div>
<div class="nav-header">
2022-11-12 01:07:47 +00:00
{% for menu in config.extra.menu %}
2023-01-18 23:44:40 +00:00
<a href={{ menu.url }}>{{ menu.name }}</a>
2022-11-12 01:07:47 +00:00
{% if not loop.last %}
|
{% endif %}
{% endfor %}
2023-01-18 23:44:40 +00:00
</div>
2022-11-12 01:07:47 +00:00
</header>