www/config/_default/hugo.toml

101 lines
2 KiB
TOML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# -- 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
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/"
[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"]
[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