portails/config/_default/config.toml

102 lines
2.1 KiB
TOML
Raw Normal View History

2020-04-15 15:48:16 +02:00
baseurl = "/"
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
# 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"
2020-04-15 15:48:16 +02:00
[markup]
[markup.goldmark]
2020-11-04 08:26:58 +01:00
[markup.goldmark.extensions]
linkify = false
2021-03-05 14:27:36 +01:00
[markup.goldmark.parser]
autoHeadingID = true
autoHeadingIDType = "github"
[markup.goldmark.parser.attribute]
block = true
title = true
2020-04-15 15:48:16 +02:00
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
2021-03-15 18:55:49 +01:00
codeFences = false
2020-11-04 08:26:58 +01:00
guessSyntax = false
2020-04-15 15:48:16 +02:00
hl_Lines = ""
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
noClasses = false
style = "dracula"
tabWidth = 4
[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/"
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"