This repository has been archived on 2024-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
vault/_includes/layouts/base.njk

41 lines
887 B
Text
Raw Normal View History

2023-06-09 17:40:13 +02:00
---
layout: layouts/parent.njk
---
2023-06-09 19:17:06 +02:00
<div>
2023-06-09 17:40:13 +02:00
<main id="skip">
<div id="titlebar">kazhnuzvault.html</div>
<div id="page">
{{ content | safe }}
</div>
</main>
2023-06-09 19:17:06 +02:00
</div>
2023-06-09 17:40:13 +02:00
<aside id="more-info">
2023-09-02 17:49:08 +02:00
{%- 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 -%}
2023-06-09 17:40:13 +02:00
<div class="card">
2023-09-02 17:49:08 +02:00
<h2>Sommaire</h2>
2023-06-09 17:40:13 +02:00
{{ content | toc | safe }}
</div>
<div id="links">
{% renderFile "./_includes/websites.md" %}
</div>
2023-09-02 17:49:08 +02:00
{%- 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 -%}
2023-06-09 17:40:13 +02:00
</aside>