improve config
This commit is contained in:
parent
e9ec93a471
commit
edc2bf8eb8
65
config.toml
65
config.toml
|
@ -191,15 +191,10 @@ pygmentsCodefencesGuessSyntax = true
|
||||||
Email = "christoph@cullmann.io"
|
Email = "christoph@cullmann.io"
|
||||||
RSS = true
|
RSS = true
|
||||||
|
|
||||||
# we want raw HTML
|
|
||||||
[markup]
|
|
||||||
[markup.goldmark]
|
|
||||||
[markup.goldmark.renderer]
|
|
||||||
unsafe = true
|
|
||||||
|
|
||||||
# default author
|
# default author
|
||||||
[Author]
|
[Author]
|
||||||
name = "Christoph Cullmann"
|
name = "Christoph Cullmann"
|
||||||
|
email = "christoph@cullmann.io"
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
# LoveIt theme version
|
# LoveIt theme version
|
||||||
|
@ -235,6 +230,64 @@ pygmentsCodefencesGuessSyntax = true
|
||||||
socialShare = false
|
socialShare = false
|
||||||
showRelatedPosts = true
|
showRelatedPosts = true
|
||||||
|
|
||||||
|
# Cookie consent config
|
||||||
|
# Cookie 许可配置
|
||||||
|
[params.cookieconsent]
|
||||||
|
enable = false
|
||||||
|
# text strings used for Cookie consent banner
|
||||||
|
# 用于 Cookie 许可横幅的文本字符串
|
||||||
|
[params.cookieconsent.content]
|
||||||
|
message = ""
|
||||||
|
dismiss = ""
|
||||||
|
link = ""
|
||||||
|
|
||||||
|
# Markup related configuration in Hugo
|
||||||
|
# Hugo 解析文档的配置
|
||||||
|
[markup]
|
||||||
|
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)
|
||||||
|
# 语法高亮设置 (https://gohugo.io/content-management/syntax-highlighting)
|
||||||
|
[markup.highlight]
|
||||||
|
codeFences = true
|
||||||
|
guessSyntax = true
|
||||||
|
lineNos = true
|
||||||
|
lineNumbersInTable = true
|
||||||
|
# false is a necessary configuration (https://github.com/dillonzq/LoveIt/issues/158)
|
||||||
|
# false 是必要的设置 (https://github.com/dillonzq/LoveIt/issues/158)
|
||||||
|
noClasses = false
|
||||||
|
# Goldmark is from Hugo 0.60 the default library used for Markdown
|
||||||
|
# Goldmark 是 Hugo 0.60 以来的默认 Markdown 解析库
|
||||||
|
[markup.goldmark]
|
||||||
|
[markup.goldmark.extensions]
|
||||||
|
definitionList = true
|
||||||
|
footnote = true
|
||||||
|
linkify = true
|
||||||
|
strikethrough = true
|
||||||
|
table = true
|
||||||
|
taskList = true
|
||||||
|
typographer = true
|
||||||
|
[markup.goldmark.renderer]
|
||||||
|
# whether to use HTML tags directly in the document
|
||||||
|
# 是否在文档中直接使用 HTML 标签
|
||||||
|
unsafe = true
|
||||||
|
# Table Of Contents settings
|
||||||
|
# 目录设置
|
||||||
|
[markup.tableOfContents]
|
||||||
|
startLevel = 2
|
||||||
|
endLevel = 6
|
||||||
|
|
||||||
|
# Sitemap config
|
||||||
|
# 网站地图配置
|
||||||
|
[sitemap]
|
||||||
|
changefreq = "weekly"
|
||||||
|
filename = "sitemap.xml"
|
||||||
|
priority = 0.5
|
||||||
|
|
||||||
|
# Permalinks config (https://gohugo.io/content-management/urls/#permalinks)
|
||||||
|
# Permalinks 配置 (https://gohugo.io/content-management/urls/#permalinks)
|
||||||
|
[Permalinks]
|
||||||
|
# posts = ":year/:month/:filename"
|
||||||
|
posts = ":filename"
|
||||||
|
|
||||||
# maximal privacy
|
# maximal privacy
|
||||||
[privacy]
|
[privacy]
|
||||||
[privacy.disqus]
|
[privacy.disqus]
|
||||||
|
|
Loading…
Reference in a new issue