feat: liens d'ancre vers les sections dans la sidebar (à lire aussi, réactions, commentaires)
This commit is contained in:
@@ -192,6 +192,13 @@ $hasSources = (!empty($externalLinks) || !empty($files))
|
||||
<button class="toc-nav-btn" id="toc-go-top">↑ Haut</button>
|
||||
<button class="toc-nav-btn" id="toc-go-bottom">↓ Bas</button>
|
||||
</div>
|
||||
<ul class="toc-list mt-2">
|
||||
<?php if (!empty($alsoReadArticles ?? [])): ?>
|
||||
<li><a href="#also-read">À lire aussi</a></li>
|
||||
<?php endif; ?>
|
||||
<li><a href="#reactions">Réactions</a></li>
|
||||
<li><a href="#comments">Commentaires</a></li>
|
||||
</ul>
|
||||
|
||||
<?php if (!empty($backlinks ?? [])): ?>
|
||||
<h6 class="related-sidebar-title">Rétroliens</h6>
|
||||
|
||||
Reference in New Issue
Block a user