diff --git a/archetypes/posts.md b/archetypes/posts.md index 7bf0ce4..2de26ba 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -14,6 +14,6 @@ cover: alt: "" # alt text caption: "" # display caption under cover relative: false # when using page bundles set this to true -showtoc: true + searchHidden: false --- diff --git a/config.yml b/config.yml index f1b3a28..b98731a 100644 --- a/config.yml +++ b/config.yml @@ -49,7 +49,7 @@ params: tocopen: false assets: - #disableHLJS: true # to disable highlight.js + # disableHLJS: true # to disable highlight.js # disableFingerprinting: true favicon: "/img/favicon.png" favicon16x16: "/img/favicon.png" @@ -112,6 +112,7 @@ params: threshold: 0.4 minMatchCharLength: 0 keys: ["title", "permalink", "summary", "content"] + menu: main: - identifier: posts @@ -131,11 +132,12 @@ menu: url: /search/ weight: 30 # Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma -# pygmentsUseClasses: true -# markup: - # highlight: +pygmentsUseClasses: true +markup: + highlight: + noClasses: false # anchorLineNos: true # codeFences: true # guessSyntax: true # lineNos: true - # style: monokai + # style: dracula