This commit is contained in:
isUnknown 2024-04-11 10:12:36 +02:00
parent 4895c0e58b
commit 0529b131a0
4 changed files with 6 additions and 11 deletions

View file

@ -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()): ?>