updated posts template

This commit is contained in:
Hamza Ahmed
2022-12-29 16:40:25 +00:00
parent a2c37a81ed
commit 644dedae3a
2 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -14,6 +14,6 @@ cover:
alt: "<alt text>" # alt text alt: "<alt text>" # alt text
caption: "<text>" # display caption under cover caption: "<text>" # display caption under cover
relative: false # when using page bundles set this to true relative: false # when using page bundles set this to true
showtoc: true
searchHidden: false searchHidden: false
--- ---
+6 -4
View File
@@ -112,6 +112,7 @@ params:
threshold: 0.4 threshold: 0.4
minMatchCharLength: 0 minMatchCharLength: 0
keys: ["title", "permalink", "summary", "content"] keys: ["title", "permalink", "summary", "content"]
menu: menu:
main: main:
- identifier: posts - identifier: posts
@@ -131,11 +132,12 @@ menu:
url: /search/ url: /search/
weight: 30 weight: 30
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma # Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
# pygmentsUseClasses: true pygmentsUseClasses: true
# markup: markup:
# highlight: highlight:
noClasses: false
# anchorLineNos: true # anchorLineNos: true
# codeFences: true # codeFences: true
# guessSyntax: true # guessSyntax: true
# lineNos: true # lineNos: true
# style: monokai # style: dracula