erratum/_includes/layouts/model.njk

27 lines
487 B
Text
Raw Normal View History

2023-05-24 22:54:51 +02:00
---
layout: layouts/parent.njk
---
<main id="skip">
<div>
2023-05-24 22:54:51 +02:00
{{ content | safe }}
</div>
</main>
2023-05-24 22:54:51 +02:00
<aside id="more-info">
<div class="card">
<h2>Sommaire</h2>
2023-05-24 22:54:51 +02:00
{{ content | toc | safe }}
</div>
2023-05-24 22:54:51 +02:00
{%- for tag in models -%}
<div class="card">
<h2>{{ tag }}</h2>
<ul>
{%- for post in collections[tag] -%}
<li><a href="#">{{ post.data.title }}</a></li>
{%- endfor -%}
</ul>
</div>
{%- endfor -%}
</aside>