fix home events grids
This commit is contained in:
parent
bb1ff96462
commit
7efec15b2f
2 changed files with 20 additions and 3 deletions
|
|
@ -23,12 +23,12 @@
|
|||
'asc'
|
||||
);
|
||||
|
||||
snippet('events-grid', ['title' => 'À venir', 'events' => $orderedEvents->slice(0, 2)])
|
||||
snippet('events-grid', ['title' => 'À venir', 'events' => $orderedEvents->slice(0, 2), 'columns' => 2])
|
||||
?>
|
||||
|
||||
<?php snippet('newsletter-section') ?>
|
||||
|
||||
<?php snippet('events-grid', ['title' => 'À venir', 'events' => $orderedEvents->slice(2, 5)]) ?>
|
||||
<?php snippet('events-grid', ['title' => 'À venir', 'events' => $orderedEvents->slice(2, 3)]) ?>
|
||||
|
||||
<section class="callout">
|
||||
<h4><?= $site->callout() ?></h4>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue