Files
hugo-framework/config/_default/hugo.toml
2026-03-29 08:21:56 +00:00

61 lines
1.1 KiB
TOML

# -- Site Configuration --
theme = ["hugo-admonitions", "blowfish"]
baseURL = "https://wiki.wompmacho.com/"
defaultContentLanguage = "en"
relativeURLs = true
enableRobotsTXT = true
summaryLength = 5
buildDrafts = true
buildFuture = true
enableEmoji = true
[taxonomies]
tag = "tags"
category = "categories"
author = "authors"
series = "series"
[sitemap]
changefreq = "daily"
filename = "sitemap.xml"
priority = 0.5
[outputs]
home = ["HTML", "RSS", "JSON"]
[frontmatter]
lastmod = ["lastmod", ":git", "date"]
enableGitInfo = true
[markup.tableOfContents]
endLevel = 3
ordered = false
startLevel = 2
[module]
[[module.mounts]]
source = "content"
target = "content"
[[module.mounts]]
source = "/srv/docs/private"
target = "content/private"
[[module.mounts]]
source = "assets"
target = "assets"
[[module.mounts]]
source = "/srv/configs"
target = "assets/configs"
[security]
[security.funcs]
readFile = [".*"]
"os.Stat" = [".*"]
"os.ReadDir" = [".*"]
[security.exec]
# Hugo must be allowed to run the asciidoctor binary
allow = ["^asciidoctor$"]