scanline/_includes/layouts/base.njk

27 lines
529 B
Text
Raw Normal View History

2024-04-15 11:30:02 +02:00
---
layout: layouts/parent.njk
---
<div>
<main id="skip">
<div id="titlebar">scanline.html</div>
<div id="page">
{{ content | safe }}
</div>
</main>
</div>
<aside id="more-info">
{%- if parent -%}
<div class="card 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">
<h2>Sommaire</h2>
{{ content | toc | safe }}
</div>
</aside>