diff --git a/.gitmodules b/.gitmodules index abcc2bd..9af666c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "themes/PaperMod"] path = themes/PaperMod url = https://github.com/adityatelange/hugo-PaperMod.git +[submodule "themes/stack"] + path = themes/stack + url = https://github.com/CaiJimmy/hugo-theme-stack.git diff --git a/hugo.yaml b/hugo.yaml index 2ff1532..461846a 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -1,55 +1,76 @@ baseURL: "https://blog.vezpi.me/" languageCode: "en-us" title: "Vezpi Blog" -theme: "PaperMod" +theme: "stack" frontmatter: format: "yaml" +params: + mainSections: ["posts"] + sidebar: + compact: false + emoji: "🧠" + footer: + since: 2025 + dateFormat: + published: "Jan 2, 2006" + lastUpdated: "Jan 2, 2006" + toc: + enable: true + article: + math: false + toc: true + readingTime: true + lastUpdated: true + comments: + enable: false + + 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"] +#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: diff --git a/themes/stack b/themes/stack new file mode 160000 index 0000000..9e6b7b2 --- /dev/null +++ b/themes/stack @@ -0,0 +1 @@ +Subproject commit 9e6b7b22a9d47478a72287bcdc29e885dcd8f359