missing-number/_includes/layouts/base-toppage.njk

24 lines
496 B
Text
Raw Permalink Normal View History

2024-02-09 15:02:12 +01:00
---
layout: layouts/parent.njk
---
2024-09-13 22:58:39 +02:00
<main id="skip" class="visible">
2024-02-09 15:02:12 +01:00
<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>
2024-03-29 08:04:09 +01:00
{%- for post in collections.all | getSubPages(eleventyNavigation.key) -%}
<li><a href="{{ post.url }}">{{ post.data.eleventySubNavigation.key }}</a></li>
2024-02-09 15:02:12 +01:00
{%- endfor -%}
</ol>
</div>
</aside>