{% extends "page.html" %} {% import "macros.html" as m with context %} {% block titre %}{{ dossier or base.title }}{% endblock %} {% block fil %}{{ m.fil(fil[:-1] if dossier else [], fil[-1][0] if dossier else base.title) }}{% endblock %} {% block contenu %}

{% if dossier %}{{ titre_dossier or dossier ~ '/' }}{% else %}{{ base.title }}{% endif %}

{% if dossier and titre_dossier %}

{{ dossier }}/

{% endif %} {% if not dossier %}

{{ chapeau }}

{% if suite %}
Description complète — écrite pour qu'un agent choisisse la bonne base

{{ suite }}

{% endif %}{% endif %} {{ m.onglets(nom, 'base') }}
{% if not dossier and (panneau.piliers or panneau.roles) %}
{% if panneau.piliers %}

Fiches piliers

    {% for d, n in panneau.piliers %}
  1. {{ d.titre }} citée par {{ n }}
  2. {% endfor %}
{% endif %} {% if panneau.roles %}

Sections

Les fiches qui portent une section de ce rôle.

    {% for role, n in panneau.roles %}
  • {{ role }} {{ n }}
  • {% endfor %}
{% endif %}
{% endif %} {% macro index_rendu() %} {% if rendu.tronque %}

Rendu possiblement incomplet : le document dépasse l'imbrication que le moteur rend. Sa source suit le rendu.

{% endif %}
{{ rendu.html }}
{% if rendu.tronque %}
{{ rendu.source }}
{% endif %} {% endmacro %} {% if rendu and dossier %}{{ index_rendu() }}{% endif %} {% if index_long %}

Ce dossier a un index trop long pour s'afficher ici : le lire sur sa page.

{% endif %} {% if sous or docs %}

{% if rendu and dossier %}Contenu du répertoire{% else %}Contenu{% endif %}

{% if sous %} {% endif %} {% if docs %} {% macro pagination() %}{% if pages > 1 %}{% endif %}{% endmacro %} {% if pages > 1 %}

Pour filtrer ce dossier par type, tag ou texte : l'Explorer, limité à {{ dossier }}/.

{% endif %} {{ pagination() }} {{ pagination() }} {% endif %}
{% endif %} {% if rendu and not dossier %} {# L'index racine s'adresse autant aux agents qu'aux humains (format, conventions) : il se déplie. #}
Index de la base — sa présentation, ses conventions et sa table des matières (index.md) {{ index_rendu() }}
{% endif %}
{{ m.panneau(nom, panneau, entrees=dossier != '') }} {% endblock %}