126 lines
2.8 KiB
TOML
126 lines
2.8 KiB
TOML
baseurl = "/"
|
|
canonifyURLs = false
|
|
disableAliases = true
|
|
disableHugoGeneratorInject = true
|
|
enableEmoji = true
|
|
enableGitInfo = false
|
|
enableRobotsTXT = true
|
|
languageCode = "en-US"
|
|
paginate = 7
|
|
rssLimit = 10
|
|
|
|
# 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"
|
|
|
|
[markup]
|
|
[markup.goldmark]
|
|
[markup.goldmark.extensions]
|
|
linkify = false
|
|
[markup.goldmark.parser]
|
|
autoHeadingID = true
|
|
autoHeadingIDType = "github"
|
|
[markup.goldmark.parser.attribute]
|
|
block = true
|
|
title = true
|
|
[markup.goldmark.renderer]
|
|
unsafe = true
|
|
[markup.highlight]
|
|
codeFences = false
|
|
guessSyntax = false
|
|
hl_Lines = ""
|
|
lineNoStart = 1
|
|
lineNos = false
|
|
lineNumbersInTable = true
|
|
noClasses = false
|
|
style = "dracula"
|
|
tabWidth = 4
|
|
|
|
[sitemap]
|
|
changefreq = "weekly"
|
|
filename = "sitemap.xml"
|
|
priority = 0.5
|
|
|
|
[taxonomies]
|
|
contributor = "contributors"
|
|
|
|
[permalinks]
|
|
blog = "/blog/:title/"
|
|
|
|
[module]
|
|
[module.hugoVersion]
|
|
extended = true
|
|
min = "0.80.0"
|
|
max = ""
|
|
[[module.mounts]]
|
|
source = "node_modules/@hyas/doks/archetypes"
|
|
target = "archetypes"
|
|
[[module.mounts]]
|
|
source = "node_modules/@hyas/doks/assets"
|
|
target = "assets"
|
|
# [[module.mounts]]
|
|
# source = "node_modules/@hyas/doks/content"
|
|
# target = "content"
|
|
[[module.mounts]]
|
|
source = "node_modules/@hyas/doks/data"
|
|
target = "data"
|
|
[[module.mounts]]
|
|
source = "node_modules/@hyas/doks/layouts"
|
|
target = "layouts"
|
|
[[module.mounts]]
|
|
source = "node_modules/@hyas/doks/static"
|
|
target = "static"
|
|
[[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 = "assets"
|
|
target = "assets"
|
|
[[module.mounts]]
|
|
source = "static"
|
|
target = "static"
|
|
[[module.mounts]]
|
|
source = "content"
|
|
target = "content"
|
|
[[module.mounts]]
|
|
source = "layouts"
|
|
target = "layouts"
|
|
[[module.mounts]]
|
|
source = "archetypes"
|
|
target = "archetypes"
|
|
[[module.mounts]]
|
|
source = "data"
|
|
target = "data"
|