portails/config/_default/config.toml

90 lines
1.9 KiB
TOML
Raw Normal View History

2021-09-03 13:49:33 +02:00
baseurl = "https://doks.netlify.app/"
2021-04-02 19:45:05 +02:00
canonifyURLs = false
2020-04-15 15:48:16 +02:00
disableAliases = true
disableHugoGeneratorInject = true
enableEmoji = true
2020-11-04 14:23:52 +01:00
enableGitInfo = false
2020-04-15 15:48:16 +02:00
enableRobotsTXT = true
languageCode = "en-US"
paginate = 7
rssLimit = 10
2021-09-10 16:38:32 +02:00
# Multilingual
defaultContentLanguage = "en"
2021-09-15 14:36:51 +02:00
disableLanguages = ["de", "nl"]
2021-09-10 16:38:32 +02:00
# defaultContentLanguageInSubdir = true
2020-04-15 15:48:16 +02:00
# add redirects/headers
[outputs]
home = ["HTML", "RSS", "REDIRECTS", "HEADERS"]
2021-01-08 10:30:24 +01:00
section = ["HTML", "RSS", "SITEMAP"]
2020-04-15 15:48:16 +02:00
# remove .{ext} from text/netlify
[mediaTypes."text/netlify"]
suffixes = [""]
delimiter = ""
# add output format for netlify _redirects
[outputFormats.REDIRECTS]
2020-11-04 08:26:58 +01:00
mediaType = "text/netlify"
2020-04-15 15:48:16 +02:00
baseName = "_redirects"
isPlainText = true
notAlternative = true
# add output format for netlify _headers
[outputFormats.HEADERS]
2020-11-04 08:26:58 +01:00
mediaType = "text/netlify"
2020-04-15 15:48:16 +02:00
baseName = "_headers"
isPlainText = true
notAlternative = true
2020-11-04 08:26:58 +01:00
# add output format for section sitemap.xml
[outputFormats.SITEMAP]
mediaType = "application/xml"
baseName = "sitemap"
isHTML = false
isPlainText = true
noUgly = true
rel = "sitemap"
2021-09-03 13:49:33 +02:00
[caches]
[caches.getjson]
dir = ":cacheDir/:project"
maxAge = "10s"
2020-04-15 15:48:16 +02:00
[sitemap]
2020-12-02 13:49:08 +01:00
changefreq = "weekly"
2020-04-15 15:48:16 +02:00
filename = "sitemap.xml"
priority = 0.5
2020-11-04 08:26:58 +01:00
[taxonomies]
contributor = "contributors"
2021-06-25 17:03:30 +02:00
[permalinks]
2020-11-04 08:26:58 +01:00
blog = "/blog/:title/"
# docs = "/docs/1.0/:sections[1:]/:title/"
2020-11-04 08:26:58 +01:00
2021-08-12 17:36:25 +02:00
[minify.tdewolff.html]
keepWhitespace = false
2020-04-15 15:48:16 +02:00
[module]
2021-07-05 09:51:09 +02:00
[module.hugoVersion]
extended = true
min = "0.80.0"
max = ""
2020-04-15 15:48:16 +02:00
[[module.mounts]]
source = "assets"
target = "assets"
[[module.mounts]]
source = "static"
target = "static"
2020-11-04 08:26:58 +01:00
[[module.mounts]]
source = "node_modules/flexsearch"
target = "assets/js/vendor/flexsearch"
2021-03-16 15:14:45 +01:00
[[module.mounts]]
source = "node_modules/katex"
target = "assets/js/vendor/katex"
2021-06-30 15:16:45 +02:00
[[module.mounts]]
source = "node_modules/mermaid"
target = "assets/js/vendor/mermaid"