www/config/_default/hugo.toml
2025-04-16 19:05:03 +02:00

90 lines
1.4 KiB
TOML

theme = "blowfish"
baseURL = "https://oururl.de/"
defaultContentLanguage = "de"
relativeURLs = true
canonifyURLs = true
pluralizeListTitles = false
enableRobotsTXT = true
summaryLength = 0
buildDrafts = false
buildFuture = false
enableEmoji = true
[pagination]
pagerSize = 100
[imaging]
anchor = "Center"
[taxonomies]
tag = "tags"
category = "categories"
author = "authors"
series = "series"
[sitemap]
changefreq = "daily"
filename = "sitemap.xml"
priority = 0.5
[permalinks]
post = "/post/:year/:month/:day/:title/"
[outputs]
home = ["html", "rss", "json"]
section = ["html", "Calendar", "rss", "xml"]
page = ["html", "Calendar"]
# Output Formats Configuration
[outputFormats.Calendar]
mediaType = "text/calendar"
baseName = "index"
isPlainText = true
notAlternative = true
[outputFormats.XML]
mediaType = "application/xml"
baseName = "index"
isPlainText = true
[outputFormats.RSS]
mediaType = "application/rss+xml"
# Media Types Configuration
[mediaTypes]
[mediaTypes.'text/calendar']
suffixes = ["ics"]
[mediaTypes.'application/rss+xml']
suffixes = ["xml", "rss"]
[related]
threshold = 0
toLower = false
[[related.indices]]
name = "tags"
weight = 100
[[related.indices]]
name = "categories"
weight = 100
[[related.indices]]
name = "series"
weight = 50
[[related.indices]]
name = "authors"
weight = 20
[[related.indices]]
name = "date"
weight = 10
[[related.indices]]
applyFilter = false
name = "fragmentrefs"
type = "fragments"
weight = 10