first commit

This commit is contained in:
julien
2026-08-05 13:53:18 +02:00
commit 91772b907c
70 changed files with 3762 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
{% extends "base.html" %}
{% import "macros.html" as macros %}
{% block title %}{{ section.title }} · {{ config.title }}{% endblock title %}
{% block content %}
{% include "partials/section-header.html" %}
{{ section.content | safe }}
{{ macros::taxonomy_nav(
kind="themes",
heading_id="grammaire-index-title",
title="Explorer la grammaire",
description="Retrouver les fiches par notion grammaticale.",
path="themes",
link_label="Par thème grammatical"
) }}
{% if section.pages %}
<h2>Liste des fiches</h2>
<ul class="entry-list">
{% for page in section.pages %}
<li>
<a href="{{ page.permalink | safe }}">{{ page.title }}</a>
{% if page.description %} — {{ page.description }}{% endif %}
{% if page.taxonomies.themes %}
<div class="entry-list__meta">
{{ macros::taxonomy_links(terms=page.taxonomies.themes, kind="themes") }}
</div>
{% endif %}
</li>
{% endfor %}
</ul>
{% else %}
<p>Aucune fiche nest encore publiée dans cette section.</p>
{% endif %}
{% endblock content %}