author > fix texts list
This commit is contained in:
parent
3dd5f3f181
commit
1719a1bcbb
1 changed files with 3 additions and 2 deletions
|
|
@ -8,8 +8,9 @@
|
||||||
<?= $page->presentation() ?>
|
<?= $page->presentation() ?>
|
||||||
<p class="h3">textes :</p>
|
<p class="h3">textes :</p>
|
||||||
<ul class="texts">
|
<ul class="texts">
|
||||||
<?php foreach($site->index()->filterBy('template', 'in', array('linear', 'grid')) as $article): ?>
|
<?php foreach(page('textes')->grandChildren() as $article): ?>
|
||||||
<?php if ($article->author()->isNotEmpty() && $article->author()->toPage()->title() == $page->title()->value()): ?>
|
<?php
|
||||||
|
if ($article->author()->toPage()->title()->value() == $page->title()->value()): ?>
|
||||||
<li
|
<li
|
||||||
class="text"
|
class="text"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue