blog/themes/buck/layout/includes/shared.njk

17 lines
338 B
Text
Raw Normal View History

2024-01-10 10:35:50 +00:00
{% set theme = site.data.theme %}
{% macro sitenav(title = config.title) %}
<div class="nav-wrapper">
<nav class="site">
<div>
<h6>{{ title }}</h6>
</div>
<div>
{% for name, link in theme.site_nav_links %}
<a href="{{ link }}">{{ name }}</a>
{% endfor %}
</div>
</nav>
</div>
{% endmacro %}