mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
✨ Feat: add options to make output baidu_urls.txt file (#138)
This commit is contained in:
@@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
|
||||
> Snapshot:
|
||||
|
||||
- :sparkles: Feat: enhance auto toc feature ([#104](https://github.com/Lruihao/FixIt/issues/104) [#136](https://github.com/Lruihao/FixIt/issues/136))
|
||||
- :sparkles: Feat(SEO): add options to make output baidu_urls.txt file ([#138](https://github.com/Lruihao/FixIt/issues/138))
|
||||
- :bug: Fix: Giscus comments invalid config `inputPosition`
|
||||
- :art: Style: add scroll bar for auto toc ([#136](https://github.com/Lruihao/FixIt/issues/136))
|
||||
- :arrow_up: Chore: update some third-party libraries
|
||||
|
||||
+22
-10
@@ -1213,23 +1213,35 @@ enableEmoji = true
|
||||
[privacy.youtube]
|
||||
privacyEnhanced = true
|
||||
|
||||
# Options to make output .md files
|
||||
# 用于输出 Markdown 格式文档的设置
|
||||
[mediaTypes]
|
||||
[mediaTypes."text/plain"]
|
||||
# Options to make output .md files
|
||||
# 用于输出 Markdown 格式文档的设置
|
||||
[mediaTypes."text/markdown"]
|
||||
suffixes = ["md"]
|
||||
# Options to make output .txt files
|
||||
# 用于输出 txt 文件的设置
|
||||
[mediaTypes."text/plain"]
|
||||
suffixes = ["txt"]
|
||||
|
||||
# Options to make output .md files
|
||||
# 用于输出 Markdown 格式文档的设置
|
||||
[outputFormats.MarkDown]
|
||||
mediaType = "text/plain"
|
||||
isPlainText = true
|
||||
isHTML = false
|
||||
[outputFormats]
|
||||
# Options to make output .md files
|
||||
# 用于输出 Markdown 格式文档的设置
|
||||
[outputFormats.MarkDown]
|
||||
mediaType = "text/plain"
|
||||
isPlainText = true
|
||||
isHTML = false
|
||||
# Options to make output baidu_urls.txt file
|
||||
# 用于输出 baidu_urls.txt 文件的设置
|
||||
[outputFormats.BaiduUrls]
|
||||
baseName = "baidu_urls"
|
||||
mediaType = "text/plain"
|
||||
isPlainText = true
|
||||
isHTML = false
|
||||
|
||||
# Options to make hugo output files
|
||||
# 用于 Hugo 输出文档的设置
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "JSON"]
|
||||
home = ["HTML", "RSS", "JSON", "BaiduUrls"]
|
||||
page = ["HTML", "MarkDown"]
|
||||
section = ["HTML", "RSS"]
|
||||
taxonomy = ["HTML", "RSS"]
|
||||
|
||||
@@ -881,21 +881,32 @@ Please open the code block below to view the complete sample configuration :(fa-
|
||||
[privacy.youtube]
|
||||
privacyEnhanced = true
|
||||
|
||||
# Options to make output .md files
|
||||
# {{< version 0.2.15 changed >}}
|
||||
[mediaTypes]
|
||||
[mediaTypes."text/plain"]
|
||||
# Options to make output .md files
|
||||
[mediaTypes."text/markdown"]
|
||||
suffixes = ["md"]
|
||||
# Options to make output .txt files
|
||||
[mediaTypes."text/plain"]
|
||||
suffixes = ["txt"]
|
||||
|
||||
# Options to make output .md files
|
||||
[outputFormats.MarkDown]
|
||||
mediaType = "text/plain"
|
||||
isPlainText = true
|
||||
isHTML = false
|
||||
# {{< version 0.2.15 changed >}}
|
||||
[outputFormats]
|
||||
# Options to make output .md files
|
||||
[outputFormats.MarkDown]
|
||||
mediaType = "text/markdown"
|
||||
isPlainText = true
|
||||
isHTML = false
|
||||
# {{< version 0.2.15 >}} Options to make output baidu_urls.txt file
|
||||
[outputFormats.BaiduUrls]
|
||||
baseName = "baidu_urls"
|
||||
mediaType = "text/plain"
|
||||
isPlainText = true
|
||||
isHTML = false
|
||||
|
||||
# Options to make hugo output files
|
||||
# {{< version 0.2.15 changed >}} Options to make hugo output files
|
||||
[outputs]
|
||||
# {{< version 0.2.0 changed >}}
|
||||
home = ["HTML", "RSS", "JSON"]
|
||||
home = ["HTML", "RSS", "JSON", "BaiduUrls"]
|
||||
page = ["HTML", "MarkDown"]
|
||||
section = ["HTML", "RSS"]
|
||||
taxonomy = ["HTML", "RSS"]
|
||||
|
||||
@@ -882,21 +882,32 @@ hugo
|
||||
[privacy.youtube]
|
||||
privacyEnhanced = true
|
||||
|
||||
# 用于输出 Markdown 格式文档的设置
|
||||
# {{< version 0.2.15 changed >}}
|
||||
[mediaTypes]
|
||||
[mediaTypes."text/plain"]
|
||||
# 用于输出 Markdown 格式文档的设置
|
||||
[mediaTypes."text/markdown"]
|
||||
suffixes = ["md"]
|
||||
# 用于输出 txt 格式文档的设置
|
||||
[mediaTypes."text/plain"]
|
||||
suffixes = ["txt"]
|
||||
|
||||
# 用于输出 Markdown 格式文档的设置
|
||||
[outputFormats.MarkDown]
|
||||
mediaType = "text/plain"
|
||||
isPlainText = true
|
||||
isHTML = false
|
||||
# {{< version 0.2.15 changed >}}
|
||||
[outputFormats]
|
||||
# 用于输出 Markdown 格式文档的设置
|
||||
[outputFormats.MarkDown]
|
||||
mediaType = "text/plain"
|
||||
isPlainText = true
|
||||
isHTML = false
|
||||
# {{< version 0.2.15 >}} 用于输出 baidu_urls.txt 文件的设置
|
||||
[outputFormats.BaiduUrls]
|
||||
baseName = "baidu_urls"
|
||||
mediaType = "text/plain"
|
||||
isPlainText = true
|
||||
isHTML = false
|
||||
|
||||
# 用于 Hugo 输出文档的设置
|
||||
# {{< version 0.2.15 changed >}} 用于 Hugo 输出文档的设置
|
||||
[outputs]
|
||||
# {{< version 0.2.0 changed >}}
|
||||
home = ["HTML", "RSS", "JSON"]
|
||||
home = ["HTML", "RSS", "JSON", "BaiduUrls"]
|
||||
page = ["HTML", "MarkDown"]
|
||||
section = ["HTML", "RSS"]
|
||||
taxonomy = ["HTML", "RSS"]
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
{{- range (where .Site.Pages "Kind" "page") -}}
|
||||
{{- println .Permalink -}}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user