feat: clean URLs pour catégories et pagination
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user