missing-number/_includes/layouts/base-toppage.njk
Kazhnuz 667896ab7a
All checks were successful
continuous-integration/drone/push Build is passing
feat: responsive design
2024-09-13 22:58:39 +02:00

23 lines
496 B
Text

---
layout: layouts/parent.njk
---
<main id="skip" class="visible">
<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>