updated posts template
This commit is contained in:
+1
-1
@@ -14,6 +14,6 @@ cover:
|
||||
alt: "<alt text>" # alt text
|
||||
caption: "<text>" # display caption under cover
|
||||
relative: false # when using page bundles set this to true
|
||||
showtoc: true
|
||||
|
||||
searchHidden: false
|
||||
---
|
||||
|
||||
+7
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user