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
caption: "<text>" # display caption under cover
relative: false # when using page bundles set this to true
showtoc: true
searchHidden: false
---
+7 -5
View File
@@ -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