Archives 页面不存在
#455
-
Beta Was this translation helpful? Give feedback.
Answered by
Lruihao
Jul 11, 2024
Replies: 1 comment 3 replies
-
在你的配置文件中加入: [mediaTypes]
# Options to make output .md files
[mediaTypes."text/markdown"]
suffixes = ["md"]
# Options to make output .txt files
[mediaTypes."text/plain"]
suffixes = ["txt"]
[outputFormats]
# Options to make output .md files
[outputFormats.MarkDown]
mediaType = "text/markdown"
isPlainText = true
isHTML = false
# FixIt 0.3.0 | NEW Options to make output /archives/index.html file
[outputFormats.archives]
path = "archives"
baseName = "index"
mediaType = "text/html"
isPlainText = false
isHTML = true
permalinkable = true
# FixIt 0.3.0 | NEW Options to make output /offline/index.html file
[outputFormats.offline]
path = "offline"
baseName = "index"
mediaType = "text/html"
isPlainText = false
isHTML = true
permalinkable = true
# FixIt 0.3.0 | NEW Options to make output readme.md file
[outputFormats.README]
baseName = "readme"
mediaType = "text/markdown"
isPlainText = true
isHTML = false
# FixIt 0.3.0 | CHANGED Options to make output baidu_urls.txt file
[outputFormats.baidu_urls]
baseName = "baidu_urls"
mediaType = "text/plain"
isPlainText = true
isHTML = false
[outputs]
home = ["HTML", "RSS", "JSON", "archives"]
page = ["HTML", "MarkDown"]
section = ["HTML", "RSS"]
taxonomy = ["HTML"]
term = ["HTML", "RSS"] 或者直接从主题中继承配置(推荐): [mediaTypes]
_merge = "shallow"
[outputFormats]
_merge = "shallow"
[outputs]
_merge = "shallow" |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
tearizz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在你的配置文件中加入: