-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 = "[email protected]" | ||
profile = "" | ||
|
||
[pagination] | ||
pagerSize = 10 | ||
|
@@ -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 = "编程问答社区" } |