Theme: Fix doubled "Neuigkeiten" on start page, differentiate events from articles more #159

Merged
jtbx merged 3 commits from feat/home-double-news-heading into main 2026-06-13 21:26:39 +02:00
Showing only changes of commit 3df895f734 - Show all commits

Theme: Reverse article order on start page
Some checks failed
/ build (pull_request) Successful in 41s
/ cleanup-staging (pull_request) Failing after 2m17s
/ build (push) Failing after 2m29s

articles are in the past, so sorting them in descending order will result in the most recent being the first item.
jtbx 2026-06-11 22:12:25 +02:00

View file

@ -30,7 +30,7 @@
</div>
{{- end }}
{{- range $articleNew.ByDate }}
{{- range $articleNew.ByDate.Reverse }}
<div class="announcement">
{{- partial "blog-header.html" (dict "headingLink" true "level" 4 "reduced" true "page" . ) }}