-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
87 lines (77 loc) · 1.86 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
title = "JinCeon随笔"
baseURL = "https://jinceon.github.io/"
# 设置默认的语言 ["en", "zh-cn", "fr", "pl", ...]
defaultContentLanguage = "zh-cn"
# 网站语言, 仅在这里 CN 大写 ["en", "zh-CN", "fr", "pl", ...]
languageCode = "zh-CN"
# 是否包括中日韩文字
hasCJKLanguage = true
enableGitInfo = true
# 更改使用 Hugo 构建网站时使用的默认主题
theme = "hydee"
copyright = "jinceon"
# googleAnalytics = "UA-123-45"
[markup]
[markup.highlight]
codeFences = true
guessSyntax = false
hl_Lines = ""
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
noClasses = true
style = "perldoc"
tabWidth = 4
[params]
subtitle = "Themed by Diary."
enableGitalk = false
enableGiscus = true
# Twitter Card and Open Graph settings
enableOpenGraph = true
enableTwitterCards = true
description = "工作的乐趣在于折腾。对一些问题、思考的随手记录" # will set 'og:description'
[frontmatter]
lastmod = [':git', 'lastmod', ':fileModTime', ':default']
[params.gitalk]
owner = "user"
repo = "repo name"
client_id = "your client id"
client_secret = "your client secret"
[taxonomies]
tag = "tags"
category = "categories"
[params.utterances]
repo="your repo"
term="[ENTER TERM HERE]"
label="your label"
theme="github-light"
# Please visit https://giscus.app/ to generate settings.
[params.giscus]
data_repo="username/repo"
data-repo-id="**************************"
data_category="General"
data_category_id="*********************"
data_mapping="pathname"
data_strict="0"
data_reactions_enabled="1"
data_emit_metadata="0"
data_input_position="bottom"
data_theme="preferred_color_scheme"
data_lang="en"
crossorigin="anonymous"
[[menu.main]]
url = "/categories"
name = "Categories"
weight = 2
[[menu.main]]
url = "/tags"
name = "Tags"
weight = 3
[[menu.main]]
url = "/posts"
name = "Archive"
weight = 1
[[menu.main]]
url = "/index.xml"
name = "RSS Feed"
weight = 4