sommaire > table des matières
This commit is contained in:
parent
276c567bc8
commit
1f024a7e71
2 changed files with 7 additions and 7 deletions
|
|
@ -1,8 +1,8 @@
|
|||
<nav class="toc">
|
||||
<div class="light toc_label">Sommaire</div>
|
||||
<div class="light toc_label">table des matières</div>
|
||||
<ul>
|
||||
<?php foreach ($page->tocItems() as $item): ?>
|
||||
<li><a href="#<?= $item['slug'] ?>"><?= $item['title'] ?></a></li>
|
||||
<li><a href="#<?= $item['slug'] ?>"><?= $item['title'] ?></a></li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
</nav>
|
||||
</nav>
|
||||
Loading…
Add table
Add a link
Reference in a new issue