Files
blog/hugo.yaml
2025-11-04 00:04:54 -03:00

170 lines
3.2 KiB
YAML

baseurl: https://blog.mguz.dev
languageCode: en-us
theme: hugo-theme-stack
title: brockar's blog
copyright: brockar
# Theme i18n support
# Available values: ar, bn, ca, de, el, en, es, fr, hu, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw
DefaultContentLanguage: en
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
# This will make .Summary and .WordCount behave correctly for CJK languages.
hasCJKLanguage: false
languages:
en:
languageName: English
title: brockar's blog
weight: 1
params:
sidebar:
subtitle: just a personal blog
pagination:
pagerSize: 3
permalinks:
post: /p/:slug/
page: /:slug/
frontmatter:
lastmod:
- ":git"
- "lastmod"
- ":fileModTime"
- "date"
params:
mainSections:
- post
featuredImageField: image
rssFullContent: true
favicon: /favicon.ico # e.g.: favicon placed in `static/favicon.ico` of your site folder, then set this field to `/favicon.ico` (`/` is necessary)
footer:
since: 2025
customText:
dateFormat:
published: Jan 02, 2006
lastUpdated: Jan 02, 2006 15:04 MST
sidebar:
#emoji: 🍥
# subtitle: Welcome to my blog
avatar:
enabled: true
local: true
src: img/avatar.png
article:
math: false
toc: true
readingTime: true
license:
enabled: true
default: Licensed under CC BY-NC-SA 4.0
comments:
enabled: false
widgets:
homepage:
- type: search
# - type: archives
# params:
# limit: 5
# - type: categories
# params:
# limit: 10
- type: tag-cloud
params:
limit: 10
page:
- type: toc
opengraph:
github:
site: https://github.com/brockar/
card: summary_large_image
defaultImage:
opengraph:
enabled: false
local: false
src:
colorScheme:
# Display toggle
toggle: true
# Available values: auto, light, dark
default: auto
imageProcessing:
cover:
enabled: true
content:
enabled: true
### Custom menu
### See https://stack.jimmycai.com/config/menu
### To remove about, archive and search page menu item, remove `menu` field from their FrontMatter
menu:
main: []
# social:
# - identifier: github
# name: GitHub
# url: https://github.com/brockar/
# params:
# icon: brand-github
# - identifier: cv
# name: cv
# url: https://mguz.dev/
# params:
# icon: user
related:
includeNewer: true
threshold: 60
toLower: false
indices:
- name: tags
weight: 100
- name: categories
weight: 200
markup:
goldmark:
extensions:
passthrough:
enable: true
delimiters:
block:
- - \[
- \]
- - $$
- $$
inline:
- - \(
- \)
renderer:
## Set to true if you have HTML content inside Markdown
unsafe: true
tableOfContents:
endLevel: 4
ordered: true
startLevel: 2
highlight:
noClasses: false
codeFences: true
guessSyntax: true
lineNoStart: 1
lineNos: true
lineNumbersInTable: true
tabWidth: 4