implémentation de la toc complete pour linear

This commit is contained in:
antonin gallon 2026-02-17 17:32:27 +01:00
parent 0de3b29e8b
commit d51fc592ed
10 changed files with 125 additions and 33 deletions

View file

@ -1,5 +1,5 @@
<nav class="toc">
<div class="light toc_label">Sommaire</div>
<div class="light toc_label if_toc">Sommaire</div>
<ul>
<?php
preg_match_all('/<h3>(.*?)<\/h3>/', $content, $titres);