From: Kai Moritz Date: Sat, 22 Nov 2025 14:26:43 +0000 (+0100) Subject: refactor: archives is grouped by year only X-Git-Tag: hugo--cat-tag-pages~13 X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=8f3fdb9adb8295ede0db8fd1ad3dc1fd7750dad6;p=website refactor: archives is grouped by year only --- diff --git a/hugo/hugo.yaml b/hugo/hugo.yaml index aabe3e36..69e1ce09 100644 --- a/hugo/hugo.yaml +++ b/hugo/hugo.yaml @@ -46,3 +46,7 @@ menu: name: tags url: /tags/ weight: 20 + - identifier: archives + name: archives + url: /archives/ + weight: 30 diff --git a/hugo/themes/thymeleaf/layouts/archives.html b/hugo/themes/thymeleaf/layouts/archives.html index eea3fc8a..229ebc29 100644 --- a/hugo/themes/thymeleaf/layouts/archives.html +++ b/hugo/themes/thymeleaf/layouts/archives.html @@ -45,12 +45,6 @@ {{- range .Pages.GroupByDate "January" }}
-

- - {{- .Key -}} - -  {{ len .Pages }} -

{{- range .Pages }} {{- if eq .Kind "page" }}