blog.cybershell.xyz/hugo.yaml

178 lines
3.9 KiB
YAML
Raw Normal View History

2024-08-31 17:39:36 +00:00
baseURL: https://blog.cybershell.xyz
languageCode: en-us
title: CyberShell's Blog
2024-10-09 01:38:26 +00:00
pagination.pagerSize: 5
2024-10-31 22:13:52 +00:00
theme:
- PaperMod
- plausible-hugo
params:
2024-10-31 23:54:07 +00:00
csp:
childsrc:
- "'self'"
fontsrc:
- "'self'"
formaction:
- "'self'"
framesrc:
- "'self'"
imgsrc:
- "'self'"
objectsrc:
- "'none'"
stylesrc:
- "'self'"
scriptsrc:
- "'self'"
- "'https://stats.andrewnw.com'"
2024-10-31 22:13:52 +00:00
plausible:
enable: true
domain: blog.cybershell.xyz
2024-10-31 22:18:36 +00:00
selfhosted_domain: "stats.andrewnw.com" # Self-hosted plausible domain
2024-10-31 22:13:52 +00:00
module:
imports:
- path: plausible-hugo
2024-08-31 17:39:36 +00:00
enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false
minify:
disableXML: true
minifyOutput: true
2024-10-08 19:26:54 +00:00
social:
2024-08-31 17:39:36 +00:00
env: production # to enable google analytics, opengraph, twitter-cards and schema.
title: CyberShells's Blog
description: "Cybersecurity and life advice"
2024-08-31 17:39:36 +00:00
keywords: [Blog, Portfolio, PaperMod]
author: Andrew
# author: ["Me", "You"] # multiple authors
# images: ["<link or path of image for opengraph, twitter-cards>"]
DateFormat: "January 2, 2006"
defaultTheme: dark # dark, light
2024-08-31 17:39:36 +00:00
disableThemeToggle: false
ShowReadingTime: true
ShowShareButtons: false
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: false
ShowWordCount: true
ShowRssButtonInSectionTermList: true
UseHugoToc: true
disableSpecial1stPost: false
disableScrollToTop: false
comments: false
hidemeta: false
hideSummary: false
showtoc: false
tocopen: false
assets:
# disableHLJS: true # to disable highlight.js
# disableFingerprinting: true
favicon: "<link / abs url>"
favicon16x16: "<link / abs url>"
favicon32x32: "<link / abs url>"
apple_touch_icon: "<link / abs url>"
safari_pinned_tab: "<link / abs url>"
label:
text: "CyberShell's Blog"
# icon: /apple-touch-icon.png
# iconHeight: 35
# profile-mode
profileMode:
enabled: false # needs to be explicitly set
title: Cybersecurity and helpful security
subtitle: "This is subtitle"
imageUrl: "<img location>"
imageWidth: 120
imageHeight: 120
imageTitle: my image
buttons:
- name: Posts
url: posts
- name: Tags
url: tags
# home-info mode
homeInfoParams:
Title: "Andrew's cybersecurity and life advice"
Content: Writings on cybersecurity and life from a Christian perspective
2024-08-31 17:39:36 +00:00
socialIcons:
- name: gitea
2024-09-24 23:15:39 +00:00
url: "https://git.andrewnw.xyz/CyberShell"
2024-08-31 17:39:36 +00:00
cover:
hidden: true # hide everywhere but not in structured data
hiddenInList: true # hide on list pages and home
hiddenInSingle: true # hide on single page
2024-08-31 18:06:05 +00:00
# editPost:
# URL: "https://git.andrewnw.xyz/CyberShell/blog/content"
# Text: "Suggest Changes" # edit text
# appendFilePath: true # to append file path to Edit link
2024-08-31 17:39:36 +00:00
# for search
# https://fusejs.io/api/options.html
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
limit: 10 # refer: https://www.fusejs.io/api/methods.html#search
keys: ["title", "permalink", "summary", "content"]
menu:
main:
- identifier: categories
name: categories
url: /categories/
weight: 10
- identifier: tags
name: tags
url: /tags/
weight: 20
- identifier: posts
name: posts
url: /posts/
weight: 30
2024-10-08 23:21:18 +00:00
- identifier: contact
name: contact
url: /contact/
weight: 40
2024-08-31 17:39:36 +00:00
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
pygmentsUseClasses: true
markup:
2024-11-01 00:42:37 +00:00
goldmark:
renderer:
unsafe: true
2024-08-31 17:39:36 +00:00
highlight:
noClasses: false
# anchorLineNos: true
# codeFences: true
# guessSyntax: true
# lineNos: true
# style: monokai
outputs:
home:
- html
- rss
section:
- html
- rss
taxonomy:
- html
term:
- html