2022-09-19 16:41:09 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2022-10-11 20:11:26 +00:00
|
|
|
{% block title %}{{section.title|safe}} – {{ config.extra.sitename|safe }}{% endblock title %}
|
2022-09-19 16:41:09 +00:00
|
|
|
|
|
|
|
{% block head %}
|
|
|
|
{% if section.extra.katex %}{{macros::katex()}}{% endif %}
|
|
|
|
{% endblock head %}
|
|
|
|
|
|
|
|
{% block body %}
|
2022-10-11 20:11:26 +00:00
|
|
|
<nav id="breadcrumb">
|
2022-09-19 16:41:09 +00:00
|
|
|
{% for a in section.ancestors %}
|
|
|
|
{% set s = get_section(path=a) %}
|
2022-10-11 20:11:26 +00:00
|
|
|
<a href="{{s.permalink|safe}}">{{s.title|safe}}</a>
|
2022-09-19 16:41:09 +00:00
|
|
|
{% if not loop.last %}>{% endif %}
|
|
|
|
{% endfor %}
|
2022-10-11 20:11:26 +00:00
|
|
|
</nav>
|
2022-09-19 16:41:09 +00:00
|
|
|
<span id="langs">
|
|
|
|
{{lang}} –
|
|
|
|
|
|
|
|
{% for t in section.translations %}
|
|
|
|
{% if t.lang|default(value=config.default_language) != lang %}
|
|
|
|
<a href="{{t.permalink|safe}}">{{t.lang|default(value=config.default_language)}}</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<h1>{{section.title | safe}}</h1>
|
|
|
|
|
|
|
|
<main>
|
|
|
|
{{section.content | safe}}
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<section class="article-list">
|
|
|
|
{% for page in section.pages %}
|
|
|
|
<article>
|
2022-10-11 20:11:26 +00:00
|
|
|
<h2 class="article-list_title"><a href="{{page.permalink|safe}}">{{page.title|safe}}</a></h2>
|
2022-09-19 16:41:09 +00:00
|
|
|
<small>{{page.date}}</small>
|
|
|
|
<p>{{page.description|safe}}</p>
|
|
|
|
</article>
|
|
|
|
{% endfor %}
|
|
|
|
</section>
|
2024-05-09 20:23:23 +00:00
|
|
|
|
|
|
|
<footer>
|
|
|
|
<hr/>
|
|
|
|
<div class="footer-icons">
|
|
|
|
<a rel="author" href="https://toot.aquilenet.fr/@tuxmain" title="Mastodon" target="_blank"><img alt="Mastodon" src="/img/mastodon-purple.svg" style="width:48px"/></a>
|
|
|
|
<a href="/{{macros::langurl()}}atom.xml" title="☭RSS/Atom"><img alt="☭RSS/Atom" src="/img/rss-gradient.svg" style="width:48px"/></a>
|
|
|
|
<a href="https://liberapay.com/tuxmain/donate" title="Liberapay"><img alt="Liberapay" src="/img/liberapay-donate.svg"/></a>
|
|
|
|
</div>
|
|
|
|
<br/>
|
|
|
|
<a href="https://git.txmn.tk/tuxmain/website"><img alt="Forĝejo" src="/img/forgejo.svg" style="width:32px;"/> Git/Forĝejo</a> | <a rel="license" href="//creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
|
|
|
|
</footer>
|
2022-09-19 16:41:09 +00:00
|
|
|
{% endblock body %}
|