This commit is contained in:
gws 2024-11-06 12:15:43 +01:00
parent 80175a695c
commit d75e0c000b
2 changed files with 62 additions and 339 deletions

View file

@ -11,10 +11,16 @@
{% for page in section.pages %}
<a class="nav-item subtitle-text" href="{{ page.permalink | safe }}">{{ page.title }}</a>
{% endfor %}
{% for path in section.subsections %}
{% set child = get_section(path=path) %}
<a class="nav-item subtitle-text" href="{{ child.permalink }}">{{ child.title }}</a>
{% endfor %}
{% if config.extra.juice_extra_menu %}
{% for menu in config.extra.juice_extra_menu %}
<a class="nav-item subtitle-text" href="{{ menu.link | safe }}">{{ menu.title }}</a>
{% endfor %}
{% endif %}
</nav>
{% endmacro render_header %}