From 8f3fdb9adb8295ede0db8fd1ad3dc1fd7750dad6 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 22 Nov 2025 15:26:43 +0100 Subject: [PATCH] refactor: archives is grouped by year only --- hugo/hugo.yaml | 4 ++++ hugo/themes/thymeleaf/layouts/archives.html | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) 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" }} -- 2.39.5