Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lopins committed Oct 31, 2024
1 parent 436d5f0 commit 9a00a51
Showing 1 changed file with 8 additions and 49 deletions.
57 changes: 8 additions & 49 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@ languageCode = 'zh-cn' # en / zh-cn
defaultContentLanguage = "zh-cn" # en / zh-cn
hasCJKLanguage = true # has chinese/japanese/korean ? # 自动检测是否包含 中文\日文\韩文
uglyURLs = true # Use the .html suffix

# 跳过渲染 ["page", "home", "section", "taxonomy", "RSS", "sitemap", "robotsTXT", "404"]
disableKinds = ['section', 'taxonomy', 'term']
# 忽略一些构建错误
ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]

[author] # essential # 必需
# 作者信息 profile:简介信息
[author]
name = "lopins"
link = "https://www.lopins.cn"
email = "lopins@qq.com"
profile = ""

[pagination]
pagerSize = 10
Expand Down Expand Up @@ -93,50 +98,4 @@ disableKinds = ['section', 'taxonomy', 'term']
[params.friendlinks]
hugo = { name = "Hugo 官方文档", url = "https://gohugo.io/", description = "Hugo 的官方文档" }
github = { name = "GitHub", url = "https://github.com/", description = "代码托管平台" }
stackoverflow = { name = "Stack Overflow", url = "https://stackoverflow.com/", description = "编程问答社区" }


# 评论功能
# {{ .Site.Params.comments.provider }}
# {{ .Site.Params.comments.giscus.repo }}
[comments]
enabled = false
provider = "giscus"

[comments.utterances]
repo = ""
issueTerm = "pathname"
label = ""

[comments.beaudar]
repo = ""
issueTerm = "pathname"
label = ""
theme = ""

[comments.vssue]
platform = ""
owner = ""
repo = ""
clientId = ""
clientSecret = ""
autoCreateIssue = false

[comments.giscus]
repo = ""
repoID = ""
category = ""
categoryID = ""
mapping = ""
lightTheme = ""
darkTheme = ""
reactionsEnabled = 1
emitMetadata = 0

[comments.gitalk]
owner = ""
admin = []
repo = ""
clientID = ""
clientSecret = ""
proxy = ""
stackoverflow = { name = "Stack Overflow", url = "https://stackoverflow.com/", description = "编程问答社区" }

0 comments on commit 9a00a51

Please sign in to comment.