missing-number/_includes/layouts/base-toppage.njk
2024-02-09 15:02:12 +01:00

25 lines
606 B
Text

---
layout: layouts/parent.njk
---
<main id="skip">
<div>
{{ content | safe }}
</div>
</main>
<aside id="more-info">
<div class="card">
<h2>Sommaire</h2>
{{ content | toc | safe }}
</div>
<div class="card">
<h2>Sous-pages</h2>
<ol>
{%- for post in collections.all | sort(false, true, "data.eleventySubNavigation.order") -%}
{%- if post.data.eleventySubNavigation.parent == eleventyNavigation.key -%}
<li><a href="{{ post.url }}">{{ post.data.eleventySubNavigation.key }}</a></li>
{%- endif -%}
{%- endfor -%}
</ol>
</div>
</aside>