00db589b47
Fixes #4
34 lines
778 B
Text
34 lines
778 B
Text
---
|
|
layout: layouts/parent.njk
|
|
---
|
|
<div>
|
|
|
|
<nav class="card model">
|
|
<h2>Page dans la catégorie « {{ model }} » : </h2>
|
|
<ul class="flex">
|
|
{%- for post in collections[model] -%}
|
|
<li><a href="#">{{ post.data.title }}</a></li>
|
|
{%- endfor -%}
|
|
</ul>
|
|
</nav>
|
|
<main id="skip">
|
|
{{ content | safe }}
|
|
</main>
|
|
</div>
|
|
|
|
<aside id="more-info">
|
|
<div class="card">
|
|
<h2 class="visually-hidden">Table of Content</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.data.title }}</a></li>
|
|
{%- endfor -%}
|
|
</ul>
|
|
</div>
|
|
{%- endfor -%}
|
|
</aside>
|