MtF-wiki/config/_default/config.toml

59 lines
1.6 KiB
TOML
Raw Normal View History

2020-10-28 01:37:18 +08:00
baseURL = "https://mtf.wiki"
2022-07-30 20:45:29 +08:00
title = "MtF.wiki"
2023-08-20 21:45:11 +08:00
theme = ["mtfwiki-modified", "zdoc"]
2020-10-27 00:08:40 +08:00
2020-10-27 20:43:19 +08:00
defaultContentLanguage = "zh-cn"
2020-10-27 00:08:40 +08:00
defaultContentLanguageInSubdir = true
hasCJKLanguage = true
2023-03-20 13:13:53 +08:00
copyright = "<img src='/new/mtf-wiki-long.svg' style='height:1em;display:inline;vertical-align:baseline;background-color:none;border:none;'/> &copy; 2020-{year} MtF.wiki by <a href='https://project-trans.org/' target='_blank'><img src='/new/project-trans-inline.svg' style='height: 1em;display: inline;vertical-align: baseline;background-color: none;border: none;border-radius: 0;' alt='Project Trans'/></a><br><a href='https://creativecommons.org/licenses/by-sa/4.0/' target='_blank'><img src='https://i.creativecommons.org/l/by-sa/4.0/88x31.png' loading='lazy' alt='CC BY-SA 4.0'></a>"
timeout = "1m"
2020-10-27 00:08:40 +08:00
enableEmoji = true
2021-12-24 09:17:56 +08:00
enableRobotsTXT = true
2020-10-27 00:08:40 +08:00
paginate = 13
rssLimit = 100
googleAnalytics = ""
2023-08-16 16:05:06 +08:00
disableKinds = ["taxonomy"]
2020-10-27 00:08:40 +08:00
2021-11-28 08:18:35 +08:00
[params]
hostName = "https://mtf.wiki"
custom_css = [
"customize.scss"
]
custom_js = [
"sweetalert.min.js",
2022-02-09 00:51:38 +08:00
"qrcode.min.js",
"customize.js"
]
2021-11-28 08:18:35 +08:00
2020-10-27 00:08:40 +08:00
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
2022-09-23 16:39:12 +08:00
hardWraps = false
2020-10-27 00:08:40 +08:00
unsafe = true
xHTML = true
[markup.highlight]
codeFences = true
lineNos = true
lineNumbersInTable = true
noClasses = false
[markup.tableOfContents]
2022-03-14 17:29:43 +08:00
endLevel = 3
2020-10-27 00:08:40 +08:00
ordered = false
startLevel = 2
[outputs]
home = ["HTML", "RSS", "SearchIndex"]
[outputFormats]
[outputFormats.SearchIndex]
mediaType = "application/json"
baseName = "index"
isPlainText = true
notAlternative = true
[taxonomies]
tag = "tags"