papermod theme nutzt "mainSections" für Startseite

wenn HomePage dann suche in "mainSections" (hugo.yaml).
Da auf der Startseite gar keine "Sections" (Artikel) erscheinen sollen, ist die Liste "mainSections" leer.
Eine Alternative wäre alle Artikel mit "hiddenInHomeList: true" zu versehen.
This commit is contained in:
Ludger Sicking 2026-08-10 15:02:17 +02:00
parent a5ff3080a8
commit 8300a47c92
2 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,7 @@ steps:
- date -I'seconds' - date -I'seconds'
- name: build_by_hugo - name: build_by_hugo
image: alpine:3.23 # PaperMod (Stand 2026-05) braucht Hugo >= 0.146; alpine:3.23 liefert 0.152.2 image: alpine:3.24 # PaperMod (Stand 2026-05) braucht Hugo >= 0.146; alpine:3.24 liefert 0.160.1
commands: commands:
- date -I'seconds' - date -I'seconds'
- cat /etc/alpine-release - cat /etc/alpine-release

View File

@ -72,6 +72,7 @@ Pagination:
Params: Params:
ShowReadingTime: false ShowReadingTime: false
ShowTags: true # ← Tags unter Beiträgen anzeigen ShowTags: true # ← Tags unter Beiträgen anzeigen
mainSections: [] # ← keine Blogartikel auf Startseite, vgl. list.html Zeile 43f
taxonomies: taxonomies:
tag: tags # ← Taxonomie aktivieren tag: tags # ← Taxonomie aktivieren