HermitCollective.nix/sites/blog.hermitcollective.net/blog/hugo.toml

63 lines
1.2 KiB
TOML

# Basic config
baseURL = "https://blog.hermitcollective.net"
theme = "hugo-simple"
languageCode = "en" # zh-Hans
title = "HermitBlog"
copyright = "© 2024 HermitCollective"
# Generate a nice robots.txt for SEO
enableRobotsTXT = true
# https://github.com/gohugoio/hugo/issues/12152
capitalizeListTitles = false
# Generate "Bearblog"-like URLs !only!, see https://bearblog.dev/.
disableKinds = ["taxonomy"]
# ignoreErrors = ["error-disable-taxonomy"]
[taxonomies]
tag = "tags"
[permalinks]
blog = "/:slugorfilename/"
tags = "/blog/:slug"
[markup.goldmark.renderer]
unsafe = true
[markup.tableOfContents]
startLevel = 2
endLevel = 3
[markup.highlight]
lineNos = true
lineNumbersInTable = false
noClasses = true
style = "catppuccin-mocha"
[params]
title = "HermitBlog"
description = "The blogging subsite of the HermitCollective network."
favicon = "images/favicon.png"
dateFormat = "2006-01-02"
hideMadeWithLine = false
[params.author]
name = "Hertog"
email = "hertog@fsfe.org"
[[menu.main]]
name = "Home"
pageRef = "/"
weight = 10
[[menu.main]]
name = "Blog"
pageRef = "/blog"
weight = 20
[services.rss]
limit = 42
[outputs]
# Generate RSS for home only.
section = ["html"]
taxonomy = ["html"]
term = ["html"]