www/config/_default/hugo.toml

101 lines
2 KiB
TOML
Raw Normal View History

2025-02-26 19:47:07 +01:00
# -- Site Configuration --
# Refer to the theme docs for more details about each of these parameters.
# https://blowfish.page/docs/getting-started/
theme = "blowfish" # UNCOMMENT THIS LINE
baseURL = "https://berlin.ccc.de/"
defaultContentLanguage = "de"
RelativeURLs = true
CanonifyURLs = true
2025-02-26 19:47:07 +01:00
pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
enableRobotsTXT = true
summaryLength = 0
buildDrafts = false
buildFuture = false
enableEmoji = true
# googleAnalytics = "G-XXXXXXXXX"
[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/"
2025-02-26 19:47:07 +01:00
[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"]
suffixes = ["rss"]
[mediaTypes."application/xml"]
suffixes = ["xml"]
2025-02-26 19:47:07 +01:00
[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