2022-11-16 20:53:43 +00:00
|
|
|
baseurl = "/"
|
2022-11-10 03:59:16 +00:00
|
|
|
canonifyURLs = false
|
2022-11-24 08:37:35 +00:00
|
|
|
disableAliases = false
|
2022-11-10 03:59:16 +00:00
|
|
|
disableHugoGeneratorInject = true
|
|
|
|
enableEmoji = true
|
|
|
|
enableGitInfo = false
|
|
|
|
enableRobotsTXT = true
|
|
|
|
paginate = 7
|
|
|
|
rssLimit = 10
|
|
|
|
|
|
|
|
# Multilingual
|
|
|
|
defaultContentLanguage = "en"
|
|
|
|
disableLanguages = ["de", "nl"]
|
|
|
|
# defaultContentLanguageInSubdir = true
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
|
|
|
[caches]
|
|
|
|
[caches.getjson]
|
|
|
|
dir = ":cacheDir/:project"
|
|
|
|
maxAge = "10s"
|
|
|
|
|
|
|
|
[sitemap]
|
|
|
|
changefreq = "weekly"
|
|
|
|
filename = "sitemap.xml"
|
|
|
|
priority = 0.5
|
|
|
|
|
|
|
|
[taxonomies]
|
|
|
|
contributor = "contributors"
|
|
|
|
category = "categories"
|
|
|
|
tag = "tags"
|
|
|
|
|
|
|
|
[minify.tdewolff.html]
|
|
|
|
keepWhitespace = false
|
|
|
|
|
|
|
|
[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
|
|
|
|
|
|
|
|
[module]
|
|
|
|
[module.hugoVersion]
|
|
|
|
extended = true
|
|
|
|
min = "0.80.0"
|
|
|
|
max = ""
|
|
|
|
[[module.mounts]]
|
|
|
|
source = "assets"
|
|
|
|
target = "assets"
|
|
|
|
[[module.mounts]]
|
|
|
|
source = "static"
|
|
|
|
target = "static"
|
|
|
|
[[module.mounts]]
|
|
|
|
source = "layouts"
|
|
|
|
target = "layouts"
|
|
|
|
[[module.mounts]]
|
|
|
|
source = "node_modules/flexsearch"
|
|
|
|
target = "assets/js/vendor/flexsearch"
|
|
|
|
[[module.mounts]]
|
|
|
|
source = "node_modules/katex"
|
|
|
|
target = "assets/js/vendor/katex"
|
|
|
|
[[module.mounts]]
|
|
|
|
source = "node_modules/mermaid"
|
|
|
|
target = "assets/js/vendor/mermaid"
|
|
|
|
[[module.mounts]]
|
|
|
|
source = "node_modules/@hyas/images/layouts"
|
|
|
|
target = "layouts"
|