parent
4895c0e58b
commit
0529b131a0
4 changed files with 6 additions and 11 deletions
|
|
@ -4,9 +4,9 @@
|
|||
<article>
|
||||
<?php snippet('cover', slots: true) ?>
|
||||
<?php slot('title') ?>
|
||||
<h2 class="main-title <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h2>
|
||||
<?php endslot() ?>
|
||||
<?php slot('text') ?>
|
||||
<h2 class="main-title <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h2>
|
||||
<ul class="texts">
|
||||
<?php foreach($kirby->collection('categories') as $category): ?>
|
||||
<?php if ($category['title'] == $page->title()->value()): ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue