mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
The subsections field is now an iterator of paths
This commit is contained in:
@@ -50,7 +50,8 @@
|
||||
{% set extra = get_section(path = "first-edition/extra/_index.md") %}
|
||||
<h1>{{ extra.title }}</h1>
|
||||
<ul>
|
||||
{% for subsection in extra.subsections|reverse %}
|
||||
{% for subsection_path in extra.subsections|reverse %}
|
||||
{% set subsection = get_section(path=subsection_path) %}
|
||||
<li><a href="/{{ subsection.path | safe }}">{{ subsection.title }}</a></li>
|
||||
{% endfor %}
|
||||
{% for page in extra.pages|reverse %}
|
||||
|
||||
Reference in New Issue
Block a user