{% macro toc(root) %} {% endmacro %} {% if 'pelican-page-hierarchy' in PLUGINS and TOCTREE %} {% if article and article.parents %} {{ toc(article.parents[0]) }} {% elif article and not article.parent %} {{ toc(article) }} {% else %}

Perdu!

{% endif %} {% endif %}