🐛 (blogarticle) Show headline as h3 on homepage
All checks were successful
Deploy / deploy (push) Successful in 5s
All checks were successful
Deploy / deploy (push) Successful in 5s
This commit is contained in:
parent
cd1330bcbe
commit
88f8c6a9a6
3 changed files with 7 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
<?= $page->text()->kirbytext() ?>
|
||||
|
||||
<?php foreach($articles as $article): ?>
|
||||
<?php snippet('article', ['article' => $article]) ?>
|
||||
<?php snippet('article', ['article' => $article, 'main' => true]) ?>
|
||||
<?php endforeach ?>
|
||||
|
||||
<?php if ($articles->pagination()->hasPages()): ?>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<h2>Latest Posts</h2>
|
||||
|
||||
<?php foreach(page('blog')->children()->listed()->flip()->limit(3) as $article): ?>
|
||||
<?php snippet('article', ['article' => $article]) ?>
|
||||
<?php snippet('article', ['article' => $article, 'main' => false]) ?>
|
||||
<?php endforeach ?>
|
||||
|
||||
<a class="btn" href="<?= page('blog')->url() ?>">Read more posts</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue