fix category page

This commit is contained in:
isUnknown 2025-02-21 13:24:06 +01:00
parent a1d945a8ab
commit 7f661597ba
4 changed files with 11 additions and 7 deletions

View file

@ -14,7 +14,7 @@
@click="edito = !edito">Lire</button>
<?php endif ?>
<ul class="texts">
<?php foreach($page->children() as $article): ?>
<?php foreach($page->texts()->toPages() as $article): ?>
<li class="text">
<a href="<?= $article->url() ?>"
class="text__title no-underline">