hazelnut.dev/templates/header.html

15 lines
502 B
HTML
Raw Permalink Normal View History

2020-09-09 01:10:48 +00:00
<header>
2021-03-27 03:10:57 +00:00
<h1 class="site-title"><a href="{{ config.base_url }}">{{ config.title }}</a></h1>
2021-03-25 07:01:36 +00:00
<nav id="navbar">
2020-12-23 16:55:55 +00:00
<ul>
{% for item in config.extra.menu %}
<li>
<a class="{% if not item.external %}internal{% endif %}" href="{{ item.url | safe | replace(from="$BASE_URL", to=config.base_url) }}">
{{ item.name }}
</a>
</li>
{% endfor %}
</ul>
2020-09-09 01:10:48 +00:00
</nav>
</header>