diff --git a/site/snippets/article.php b/site/snippets/article.php index 98ab62a..b97639b 100644 --- a/site/snippets/article.php +++ b/site/snippets/article.php @@ -1,5 +1,10 @@
+

title() ?>

+ +

title() ?>

+ +

date()->toDate('Y-m-d') ?>

diff --git a/site/templates/blog.php b/site/templates/blog.php index bddb204..27395cf 100644 --- a/site/templates/blog.php +++ b/site/templates/blog.php @@ -5,7 +5,7 @@ text()->kirbytext() ?> - $article]) ?> + $article, 'main' => true]) ?> pagination()->hasPages()): ?> diff --git a/site/templates/home.php b/site/templates/home.php index c6658d5..3b20c57 100644 --- a/site/templates/home.php +++ b/site/templates/home.php @@ -22,7 +22,7 @@

Latest Posts

children()->listed()->flip()->limit(3) as $article): ?> - $article]) ?> + $article, 'main' => false]) ?> Read more posts