-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
189 lines (167 loc) · 5.02 KB
/
config.yml
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
baseURL: https://kaka-lin.github.io/my-blog
theme: hugo-theme-pure
title: Kaka's Blog
defaultContentLanguage: en # en/zh/...
footnoteReturnLinkContents: ↩
hasCJKLanguage: true
paginate: 5
enableEmoji: true
PygmentsCodeFences: false
googleAnalytics: "" # UA-XXXXXXXX-X
permalinks:
posts: /:year/:month/:filename/
taxonomies:
category : categories
tag : tags
series : series
outputFormats: # use for search. recommend not to modify
SearchIndex:
mediaType: "application/json"
baseName: "searchindex"
isPlainText: true
notAlternative: true
outputs:
home: ["HTML","RSS","SearchIndex"] # recommend not to modify
# sitemap
sitemap:
changefreq: monthly
filename: sitemap.xml
priority: 0.5
menu:
main:
- identifier: home
name: Home
title: Home
url: /
weight: 1
- identifier: categories
name: Categories
title: Categories
url: /categories/
weight: 2
- identifier: series
name: Books
title: Study Notes
url: /series/
weight: 3
- identifier: tags
name: Tags
title: Tags
url: /tags/
weight: 4
- identifier: about
name: About
title: About
url: /about/
weight: 5
params:
since: 2020
dateFormatToUse: "2006-01-02"
enablePostCopyright: True
# the directory under content folder that you want to render
mainSections: ["posts"]
# Enable/Disable menu icons
# Icon Reference: http://blog.cofess.com/hexo-theme-pure/iconfont/demo_fontclass.html
enableMathJax: true #Enable mathjax support, to use mathematical notation
# languages: https://github.com/highlightjs/highlight.js/tree/master/src/languages
highlightjs:
langs: ["python", "javascript", "go", "c", "cpp"]
# Allows you to specify an override stylesheet
# put custom.css in $hugo_root_dir/static/
customCSS: css/custom.css
menuIcons:
enable: true # navigation
home: icon-home-fill
archives: icon-archives-fill
categories: icon-folder
tags: icon-tags
repository: icon-project
books: icon-book-fill
links: icon-friendship
about: icon-cup-fill
# profile
profile:
enabled: true # Whether to show profile bar
avatar: images/kaka_virtual.jpg
gravatar: # Gravatar email address, if you enable Gravatar, your avatar config will be overriden
author: Kaka Lin
author_title: Software Engineer
author_description: AIoT
location: Taipei, Taiwan
follow: https://github.com/kaka-lin
# Social Links
social:
links:
github: https://github.com/kaka-lin
facebook: https://www.facebook.com/profile.php?id=100001656484042
linkedin: https://www.linkedin.com/in/%E5%AE%B6%E8%B1%AA-%E6%9E%97-014a02116/
link_tooltip: false # enable the social link tooltip, options: true, false
# Site
site:
logo:
enabled: true
width: 40
height: 40
url: favicon.ico
title: Kaka's Blog # page title
favicon: favicon.ico
board: <p></p> # 公告牌
# Share
# weibo,qq,qzone,wechat,tencent,douban,diandian,facebook,twitter,google,linkedin
#share:
#enable: true
#sites: weibo,qq,wechat,facebook,twitter
#mobile_sites: weibo,qq,qzone
# Comment
comment:
type: disqus # type disqus/gitalk/valine
disqus: kaka-blog # enter disqus shortname here
gitalk: # gitalk. https://gitalk.github.io/
owner: #必須. GitHub repository GitHub User or Organization。
admin: #必须. GitHub repository 的所有者和合作者。
repo: #必须. GitHub repository.
ClientID: #必须. GitHub Application Client ID.
ClientSecret: #必须. GitHub Application Client Secret.
valine: # Valine. https://valine.js.org
appid: # your leancloud application appid
appkey: # your leancloud application appkey
notify: # mail notifier , https://github.com/xCss/Valine/wiki
verify: # Verification code
placeholder: enjoy~ # comment box placeholder
avatar: mm # gravatar style
meta: nick,mail # custom comment header
pageSize: 10 # pagination size
visitor: false # Article reading statistic https://valine.js.org/visitor.html
# Donate
donate:
enable: false
# PV
pv:
busuanzi:
enable: false
leancloud:
enable: false # leancloud統計
app_id: # leancloud <AppID>
app_key: # leancloud <AppKey>
# wordcount
postCount:
enable: true
wordcount: false # 文章數統計
min2read: false # read time 閱讀時長預計
# config
config:
skin: theme-black # theme color default is white. other type [theme-black,theme-blue,theme-green,theme-purple]
layout: main-center # main-left main-center main-right
excerpt_link: Read More
toc: true
# Sidebar
sidebar: right
# Search
search:
enable: true # enable search. thanks for https://raw.githubusercontent.com/ppoffice/hexo-theme-icarus/master/source/js/insight.js
# Sidebar only the following widgets. you can remove any you don't like it.
widgets:
- category
- series
- tag
- recent_posts