improve config
This commit is contained in:
parent
e9ec93a471
commit
edc2bf8eb8
67
config.toml
67
config.toml
|
@ -169,7 +169,7 @@ pygmentsCodefencesGuessSyntax = true
|
|||
# title shown in home page (HTML format is supported)
|
||||
title = ""
|
||||
# subtitle shown in home page
|
||||
subtitle = "Christoph Cullmann's personal website"
|
||||
subtitle = "Christoph Cullmann's personal web site"
|
||||
# whether to use typeit animation for subtitle
|
||||
typeit = true
|
||||
# whether to show social links
|
||||
|
@ -191,15 +191,10 @@ pygmentsCodefencesGuessSyntax = true
|
|||
Email = "christoph@cullmann.io"
|
||||
RSS = true
|
||||
|
||||
# we want raw HTML
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
# default author
|
||||
[Author]
|
||||
name = "Christoph Cullmann"
|
||||
email = "christoph@cullmann.io"
|
||||
|
||||
[params]
|
||||
# LoveIt theme version
|
||||
|
@ -235,6 +230,64 @@ pygmentsCodefencesGuessSyntax = true
|
|||
socialShare = false
|
||||
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
|
||||
[privacy]
|
||||
[privacy.disqus]
|
||||
|
|
Loading…
Reference in a new issue