32 lines
879 B
Text
32 lines
879 B
Text
---
|
|
layout: layouts/parent.njk
|
|
---
|
|
<main id="skip">
|
|
<div>
|
|
{{ content | safe }}
|
|
</div>
|
|
</main>
|
|
|
|
<aside id="more-info">
|
|
<div class="card">
|
|
<ol>
|
|
{%- for post in collections.all | sort(false, true, "data.eleventySubNavigation.order") -%}
|
|
{%- if post.data.eleventyNavigation.key == eleventySubNavigation.parent -%}
|
|
<li><a href="{{ post.url }}" style="padding-left:3px;">← {{ post.data.eleventyNavigation.key }}</a></li>
|
|
{%- endif -%}
|
|
{%- endfor -%}
|
|
</ol>
|
|
</div>
|
|
<div class="card">
|
|
<h2>Sommaire</h2>
|
|
{{ content | toc | safe }}
|
|
</div>
|
|
<div class="card">
|
|
<h2>Pages sœurs</h2>
|
|
<ol>
|
|
{%- for post in collections.all | getSubPages(eleventySubNavigation.parent) -%}
|
|
<li><a href="{{ post.url }}">{{ post.data.eleventySubNavigation.key }}</a></li>
|
|
{%- endfor -%}
|
|
</ol>
|
|
</div>
|
|
</aside>
|