]> juplo.de Git - website/commitdiff
refactor: archives is grouped by year only
authorKai Moritz <kai@juplo.de>
Sat, 22 Nov 2025 14:26:43 +0000 (15:26 +0100)
committerKai Moritz <kai@juplo.de>
Sat, 22 Nov 2025 14:33:36 +0000 (15:33 +0100)
hugo/hugo.yaml
hugo/themes/thymeleaf/layouts/archives.html

index aabe3e36a5ac774f2c9db78b0924b7c445ed5e9b..69e1ce0911b98b4f4f5d17bde22a0b51b35a495d 100644 (file)
@@ -46,3 +46,7 @@ menu:
       name: tags
       url: /tags/
       weight: 20
+    - identifier: archives
+      name: archives
+      url: /archives/
+      weight: 30
index eea3fc8a494aeee621b5565e8f1cfb713ca183bc..229ebc2972dc3eeb76d567b8607987cb7db50f11 100644 (file)
   </h2>
   {{- range .Pages.GroupByDate "January" }}
   <div class="archive-month">
-    <h3 class="archive-month-header" id="{{ $year }}-{{ .Key }}">
-      <a class="archive-header-link" href="#{{ $year }}-{{ .Key }}">
-        {{- .Key -}}
-      </a>
-      <sup class="archive-count">&nbsp;{{ len .Pages }}</sup>
-    </h3>
     <div class="archive-posts">
       {{- range .Pages }}
       {{- if eq .Kind "page" }}