feat: extend news section with tag filtering, improved layout, and homepage integration

Added tag filtering functionality to the blog and news sections, allowing users to filter posts by categories. Enhanced layout with improved tag display, author details, and responsive styling. Integrated the latest news preview into the homepage template. Adjusted visibility logic for navigation arrows in event carousel and refined related PHP snippets for better clarity and reusability.
This commit is contained in:
2025-07-13 12:58:21 +02:00
parent 008cc8389f
commit 07814712d7
6 changed files with 134 additions and 29 deletions
+8 -1
View File
@@ -2,6 +2,13 @@
<h1>Hallo Welt!</h1>
<?php snippet('termine-home') ?>
<?php snippet('home-news', [
'news' => page('news')
->children()
->limit(3)
->sortBy('date', 'desc')
]) ?>
<?php snippet('home-termine') ?>
<?php endsnippet() ?>