From 942ed1f2843266e4e149b634fbb92362e72075cd Mon Sep 17 00:00:00 2001 From: Vezpi Date: Sun, 4 May 2025 20:27:48 +0200 Subject: [PATCH] Add customization to Hugo --- hugo.yaml | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/hugo.yaml b/hugo.yaml index 441bf13..2ff1532 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -5,3 +5,67 @@ theme: "PaperMod" frontmatter: format: "yaml" + +outputs: + home: + - HTML + - RSS + - JSON + +params: + # Appearance + defaultTheme: auto # auto | dark | light + disableThemeToggle: false # Show dark/light switch + ShowReadingTime: true + ShowLastMod: true + ShowWordCount: false + showtoc: true + tocopen: true + disableComments: true + + # Fancy post features + showBreadcrumb: true # Path-like post location at top + showPostNavLinks: false # Next/Previous post links + hideSummary: false # Show summary on list view + comments: false + + # Syntax highlighting + assets: + disableHLJS: false + hljsStyle: monokai-sublime # Pick from: https://highlightjs.org/static/demo/ + + # Social icons (top right or footer) + socialIcons: + - name: "GitHub" + url: "https://github.com/vezpi" + - name: "LinkedIn" + url: "https://linkedin.com/in/vezpi" + + # Search (Fuse.js) + fuseOpts: + isCaseSensitive: false + shouldSort: true + location: 0 + distance: 1000 + threshold: 0.4 + minMatchCharLength: 3 + keys: ["title", "permalink", "summary", "content"] + +menu: + main: + - identifier: homelab + name: Homelab + url: /homelab/ + weight: 10 + - identifier: about + name: About + url: /about/ + weight: 20 + - identifier: tags + name: Tags + url: /tags/ + weight: 30 + - identifier: search + name: 🔍 Search + url: /search/ + weight: 40