missing-number/_includes/layouts/base-toppage.njk
2024-03-29 08:04:09 +01:00

23 lines
480 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 | getSubPages(eleventyNavigation.key) -%}
<li><a href="{{ post.url }}">{{ post.data.eleventySubNavigation.key }}</a></li>
{%- endfor -%}
</ol>
</div>
</aside>