This commit is contained in:
Yan Lin 2026-01-30 17:28:10 +01:00
parent 8e06ce9ff7
commit c5510c7329
2 changed files with 2 additions and 1 deletions

View file

@ -30,7 +30,7 @@
<nav>
<a href="{{ get_url(path='/') }}" class="site-title">{{ config.title }}</a>
{% set root = get_section(path="_index.md") %}
{% for path in root.subsections %}
{% for path in root.subsections | sort %}
{% set s = get_section(path=path) %}
<a href="{{ s.permalink }}">{{ s.title }}</a>
{% endfor %}