loi_re/config/_default/config.toml

83 lines
1.6 KiB
TOML
Raw Normal View History

2021-09-07 13:04:58 +02:00
baseurl = "https://doks-child-theme.netlify.app/"
2021-04-02 20:27:40 +02:00
canonifyURLs = false
2021-03-18 15:50:09 +01:00
disableAliases = true
disableHugoGeneratorInject = true
enableEmoji = true
enableGitInfo = false
enableRobotsTXT = true
languageCode = "en-US"
paginate = 7
rssLimit = 10
2021-10-05 14:53:03 +02:00
# Multilingual
defaultContentLanguage = "en"
disableLanguages = ["de", "nl"]
# defaultContentLanguageInSubdir = true
2021-03-18 15:50:09 +01:00
# add redirects/headers
[outputs]
home = ["HTML", "RSS", "REDIRECTS", "HEADERS"]
section = ["HTML", "RSS", "SITEMAP"]
# remove .{ext} from text/netlify
[mediaTypes."text/netlify"]
suffixes = [""]
delimiter = ""
# add output format for netlify _redirects
[outputFormats.REDIRECTS]
mediaType = "text/netlify"
baseName = "_redirects"
isPlainText = true
notAlternative = true
# add output format for netlify _headers
[outputFormats.HEADERS]
mediaType = "text/netlify"
baseName = "_headers"
isPlainText = true
notAlternative = true
# add output format for section sitemap.xml
[outputFormats.SITEMAP]
mediaType = "application/xml"
baseName = "sitemap"
isHTML = false
isPlainText = true
noUgly = true
rel = "sitemap"
2021-09-07 13:04:58 +02:00
[caches]
[caches.getjson]
dir = ":cacheDir/:project"
maxAge = "10s"
2021-03-18 15:50:09 +01:00
[sitemap]
changefreq = "weekly"
filename = "sitemap.xml"
priority = 0.5
[taxonomies]
contributor = "contributors"
[permalinks]
blog = "/blog/:title/"
2021-10-05 14:53:03 +02:00
# docs = "/docs/1.0/:sections[1:]/:title/"
2021-03-18 15:50:09 +01:00
2021-09-07 13:04:58 +02:00
[minify.tdewolff.html]
keepWhitespace = false
2022-07-09 09:35:08 +02:00
[related]
threshold = 80
includeNewer = true
toLower = false
[[related.indices]]
name = "categories"
weight = 100
[[related.indices]]
name = "tags"
weight = 80
[[related.indices]]
name = "date"
weight = 10