add title to home grid
This commit is contained in:
parent
303ccf5bce
commit
1ab84c2ea5
6 changed files with 19 additions and 5 deletions
|
|
@ -121,4 +121,6 @@
|
|||
<?php endsnippet() ?>
|
||||
<?php endif ?>
|
||||
</section>
|
||||
|
||||
<?php snippet('events-grid', ['title' => 'Pour aller plus loin', 'events' => $page->linkedPages()->toPages()]) ?>
|
||||
<?php snippet('footer') ?>
|
||||
|
|
@ -23,12 +23,12 @@
|
|||
'asc'
|
||||
);
|
||||
|
||||
snippet('events-grid', ['events' => $orderedEvents->slice(0, 2)])
|
||||
snippet('events-grid', ['title' => 'À venir', 'events' => $orderedEvents->slice(0, 2)])
|
||||
?>
|
||||
|
||||
<?php snippet('newsletter-section') ?>
|
||||
|
||||
<?php snippet('events-grid', ['events' => $orderedEvents->slice(2, 5)]) ?>
|
||||
<?php snippet('events-grid', ['title' => 'À venir', 'events' => $orderedEvents->slice(2, 5)]) ?>
|
||||
|
||||
<section class="callout">
|
||||
<h4><?= $site->callout() ?></h4>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue