-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
272 lines (250 loc) · 8.78 KB
/
config.yaml
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
baseURL: https://example.com
languageCode: en-us
hasCJKLanguage: true
title: 🚀OriginStart | 千里之行始于足下
theme: OriginStart
params:
author:
description: A responsive and clean start page, make your Internet easier as well.
favicon: /favicon.ico
# CSS background properties, background color or(and) image are supported.
# Wrap the hex color with double quotes,
# Wrap the image url with url().
# e.g. "#f9f4dc url(/bg.png)"
background: ""
# Enable ribbon canvas as the background
# size: the size of ribbon, default: 90.
# alpha: the opacity of line (0 ~ 1), default: 0.6.
# zIndex: the index of z space, default: -1.
ribbon:
enabled: false
# size:
# alpha: 0.8
# zIndex:
# Theme color of your site, all the css color format is supported.
# ! Note: Wrap the hex color with double quotes, like "#5689ff".
themeColor: ""
# font color
fontColor: ""
# Indicate whether to use blur theme (not compatible with all browsers).
useBlur: false
# API of displaying a sentence of a poetry.
poetry:
enabled: true
# Only one of "hitokoto" and "jinrishici" are accepted.
# Another words will be ignored, and "hitokoto" is the default.
api: jinrishici # hitokoto
# Type of hitokoto, for more information:
# see https://developer.hitokoto.cn/sentence/#%E5%8F%A5%E5%AD%90%E7%B1%BB%E5%9E%8B%EF%BC%88%E5%8F%82%E6%95%B0%EF%BC%89.
# For multiple types, use & to connect them (example: c=i&c=h).
hitokoto: c=i
# Whether to show author of the poetry
showAuthor: false
# API key of Heweather. Leave empty or set false to disable it.
# Go https://dev.heweather.com/widget/ to get your api key
heweather:
# CDN for font-awesome 5.14.0 all.min.css.
# If you do not know what this option means, skip it.
# Default is https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css.
fontawesomeCDN: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.14.0/css/all.min.css
nav:
- name: GitHub
# icon: icon-name color
icon: fab fa-github
url: https://github.com/SylleoYr/hugo-theme-OriginStart
- name: Gitee
icon: fab fa-git-square
url: https://gitee.com/SylleoYr/hugo-theme-OriginStart
searchEngines:
# Please ensure the names of group and search engine are unique.
- group: SEARCH
enabled: true # default is true
# icon: icon-name color
icon: fas fa-search indigo
items:
- name: Doge
activated: true # default is true
# the {query} in url will be replaced to your input
url : https://www.dogedoge.com/results?q={query}
- name: Baidu
url: https://www.baidu.com/s?wd={query}&ie=utf-8
- name: GitHub
url: https://github.com/search?q={query}&ref=opensearch
- name: Bilibili
url: https://search.bilibili.com/all?keyword={query}
- name: Zhihu
url: https://www.zhihu.com/search?type=content&q={query}
- name: Douban
url: https://www.douban.com/search?q={query}
- name: Google
activated: false
url: https://google.com/search
- group: ACADEMIC
enabled: false
icon: fas fa-search
items:
- name: Gole
activated: true
url: https://google.com/search
- name: DckGo
activated: true
url: https://www.duckduckgo.com
- group: MUSIC
enabled: true
icon: fas fa-search pink
items:
- name: ogle
activated: true
url: https://google.com/search
- name: ckDuckGo
activated: true
url: https://www.duckduckgo.com
- group: MOVIE
enabled: true
icon: fas fa-search cyan
items:
- name: Googl
activated: true
url: https://google.com/search
- name: DucuckGo
activated: true
url: https://www.duckduckgo.com
bookmarks:
- group: MOOC
enabled: true
# icon: icon-name color
icon: fa fa-book blue
items:
- name: 学堂在线
activated: true
icon:
url: https://www.xuetangx.com/
# It's recommed to be a brief description
description: 国家精品在线课程学习平台
- name: icourse163
url: https://www.icourse163.org/
description: 中国大学MOOC(慕课)
- name: 网易公开课
url: https://open.163.com/
description:
- name: Coursera
url: https://www.coursera.org/
description:
- name: Coursade
url: https://www.coursade.com/
description:
- name: edX China
url: https://www.edx.org/edxchina
description:
- group: DEV
icon: fas fa-code indigo
items:
- name: Nerd Fonts
url: https://www.nerdfonts.com/
description:
- name: FontAwesome
icon: fab fa-font-awesome
url: https://fontawesome.com/icons?d=gallery
description: The web's most popular icon set and toolkit.
- name: Iconfont
icon: fas fa-icons
url: https://www.iconfont.cn/
description: 阿里巴巴矢量图标库
- name: HarmonyOS
icon:
url: https://www.harmonyos.com/cn/home/
description: HarmonyOS - Huawei
- name: OpenHarmony
icon:
url: https://openharmony.gitee.com
description: 面向全场景的分布式开源操作系统
- group: COMMUNITY
icon: fa fa-comments pink
items:
- name: MCbbs
url: https://www.mcbbs.net/
description:
- name: 掘金
url: https://juejin.im/
description:
- name: DOSU
url: https://www.deepinos.org/
description: Deepin & UOS 爱好者社区
- name: Linux中国
url: https://linux.cn/
description:
- name: OpenAtom
url: https://www.openatom.org/#/
description: 开放原子开源基金会
- group: thanks
icon: fa fa-heart red
items:
- name: Hugo
url: https://gohugo.io/
description:
- name: freshstart
url: https://github.com/rz3n/hugo-theme-freshstart
description:
- name: Hitokoto
activated: true
url: https://hitokoto.cn/
description: Hitokoto · 一言
- name: 今日诗词
activated: true
url: https://www.jinrishici.com/
description: 诗词实时智能推荐
- name: HeWeather
url: https://www.heweather.com/
description:
- name: ribbon.js
url: https://github.com/hustcc/ribbon.js
description:
- name: FontAwesome
icon: fab fa-font-awesome
url: https://fontawesome.com/icons?d=gallery
# footer confituration
footer:
enabled: true
# Indicate whether to show Hugo and theme info
hugo: true
copyright: false
since: 2020
# ICP information (HTML is supported)
icp: ''
# custom footer information (HTML is supported)
custom: ''
# !=================================================================================
# ! NOTE: The following configs may cause dangerous behaviors with wrong use.
# ! You should be aware of what you are importing. And you are at your own risk.
# !=================================================================================
# Custom javascript, may be not stable.
# If this encountered any problems, disable this.
# The js files inside your site dir are supported, like "/js/custom.js".
# All the custom js files will be added after the <footer>,
# and will be executed in defer way.
customJS:
enabled: true
items:
- name: live2d
activated: false
url: https://cdn.jsdelivr.net/gh/stevenjoezhang/live2d-widget@latest/autoload.js
- name: Alert
activated: true
url: ./js/alert.js
# Custom CSS style, may be not stable.
# If this encountered any problems, disable this.
# The css files inside your site dir are supported, like "/css/custom.css".
# All the css files will be added at the end of <head>,
# along this, you can custom the CSS style of your site here.
# ! But you need to pay attention to the priority of the css selector, otherwise the custom style will not take effect.
# Thus a recommeded way to custom the site style is:
# 1) copy the *.css files and style.html from the theme dir to your site root directory
# while keeping the same directory structure and file name;
# 2) then edit the copied CSS file.
# All in one word, here is recommended to import external CSS files.
customCSS:
enabled: false
items:
- name: Custom
activated: false
url: /css/custom.css