feat: clean URLs pour catégories et pagination
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
$isPriv = in_array($catName, $_layoutPrivateCats, true); ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link nav-cat <?= $_layoutCurrentCat === $catName ? 'active' : '' ?>"
|
||||
href="/?cat=<?= rawurlencode($catName) ?>">
|
||||
href="/categorie/<?= rawurlencode($catName) ?>">
|
||||
<?= htmlspecialchars($catName) ?>
|
||||
<?php if ($isPriv): ?><span class="ms-1" style="font-size:.65em;opacity:.6">🔒</span><?php endif; ?>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user