feat: clean URLs pour catégories et pagination

This commit is contained in:
Cedric Abonnel
2026-05-12 10:07:26 +02:00
parent 70fd55be6f
commit 7e5280abcd
5 changed files with 23 additions and 7 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
<article class="search-result">
<div class="search-result-meta">
<?php if ($cat !== ''): ?>
<a class="search-result-cat" href="/?cat=<?= rawurlencode($cat) ?>"><?= htmlspecialchars($cat) ?></a>
<a class="search-result-cat" href="/categorie/<?= rawurlencode($cat) ?>"><?= htmlspecialchars($cat) ?></a>
<?php endif; ?>
<?php if ($date !== ''): ?>
<time class="search-result-date"><?= $date ?></time>