portails/config/_default/config.toml

91 lines
1.9 KiB
TOML
Raw Normal View History

2020-04-15 15:48:16 +02:00
baseurl = "/"
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"]
2020-11-04 08:26:58 +01:00
section = ["HTML", "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
2020-04-15 15:48:16 +02:00
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
codeFences = true
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]
changefreq = "monthly"
filename = "sitemap.xml"
priority = 0.5
2020-11-04 08:26:58 +01:00
[taxonomies]
contributor = "contributors"
[permalinks]
blog = "/blog/:title/"
2020-04-15 15:48:16 +02:00
[module]
[[module.mounts]]
source = "assets"
target = "assets"
[[module.mounts]]
source = "static"
target = "static"
[[module.mounts]]
source = "node_modules/lazysizes"
target = "assets/js/vendor/lazysizes"
[[module.mounts]]
2020-11-04 08:26:58 +01:00
source = "node_modules/instant.page"
target = "assets/js/vendor/instant.page"
[[module.mounts]]
source = "node_modules/lazysizes"
target = "assets/js/vendor/lazysizes"
[[module.mounts]]
source = "node_modules/flexsearch"
target = "assets/js/vendor/flexsearch"