36 lines
801 B
Text
36 lines
801 B
Text
---
|
|
layout: layouts/parent.njk
|
|
---
|
|
<div id="core">
|
|
<main id="skip" class="visible">
|
|
<div>
|
|
{{ content | safe }}
|
|
</div>
|
|
</main>
|
|
</div>
|
|
|
|
<aside id="more-info">
|
|
{%- if parent -%}
|
|
<div class="parent">
|
|
{%- for post in collections.all -%}
|
|
{%- if post.data.title == parent -%}<a href="{{ post.url }}">{{ post.data.title }}</a>{%- endif -%}
|
|
{%- endfor -%}
|
|
</div>
|
|
{%- endif -%}
|
|
|
|
<div class="card" id="sommaire">
|
|
<h2>Sommaire</h2>
|
|
{{ content | toc | safe }}
|
|
</div>
|
|
|
|
{%- for tag in models -%}
|
|
<div class="card">
|
|
<h2>{{ tag }}</h2>
|
|
<ul>
|
|
{%- for post in collections[tag]-%}
|
|
<li><a href="{{ post.url }}">{{ post.data.title }}</a></li>
|
|
{%- endfor -%}
|
|
</ul>
|
|
</div>
|
|
{%- endfor -%}
|
|
</aside>
|