]> juplo.de Git - website/commitdiff
hugo.yaml: PaperMod-Parameter und ungenutztes menu.main entfernt
authorKai Moritz <kai.milan.moritz@googlemail.com>
Wed, 3 Jun 2026 22:19:34 +0000 (22:19 +0000)
committerKai Moritz <kai.milan.moritz@googlemail.com>
Wed, 3 Jun 2026 22:32:59 +0000 (00:32 +0200)
Entfernt wurden alle Parameter, die ausschließlich für das PaperMod-Theme
gelten und vom hugo-juplo-Theme ignoriert werden:
disableThemeToggle, showShareButtons, showWordCount, showReadingTime,
showToc, showBreadCrumbs, showCodeCopyButtons, hideFooter,
assets.favicon, assets.disableHLJS.

Ebenfalls entfernt: menu.main (categories/tags/archives) – das Theme
baut die Navigation aus MainSections und der Seitenhierarchie, nicht
aus der hugo.yaml-Menükonfiguration.

Neu hinzugefügt: params.copyrightShort: mo – wird in baseof.html für
die Copyright-Zeile verwendet (Kurzname, getrennt vom vollen Namen in
params.author.name und dem RSS/Feed-Copyright in copyright:).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
hugo.yaml

index a5cb88855ee9dc0a36dd788c22219387b2bad1ce..4905777a384f13172f731cece4c23d9996635b03 100644 (file)
--- a/hugo.yaml
+++ b/hugo.yaml
@@ -11,20 +11,9 @@ params:
   author:
     email: kai@juplo.de
     name: Kai Moritz
+  copyrightShort: mo
   dateFormat: 02.01.2006
   description: Java bits from nerds for nerds
-  disableThemeToggle: true
-  showShareButtons: true
-  showWordCount: true
-  showReadingTime: true
-  showToc: false
-  showBreadCrumbs: true
-  showCodeCopyButtons: true
-  comments: true
-  hideFooter: true
-  assets:
-    favicon: /favicon.ico
-    disableHLJS: true
 markup:
   highlight:
     codeFences: true
@@ -34,20 +23,6 @@ markup:
   goldmark:
     renderer:
       unsafe: true
-menu:
-  main:
-    - identifier: categories
-      name: categories
-      url: /categories/
-      weight: 10
-    - identifier: tags
-      name: tags
-      url: /tags/
-      weight: 20
-    - identifier: archives
-      name: archives
-      url: /archives/
-      weight: 30
 mainSections:
   - blog
   - projects