-
Notifications
You must be signed in to change notification settings - Fork 50
/
config.toml
293 lines (249 loc) · 8.46 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
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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
baseurl = "http://kerneltravel.net/"
title = "Linux内核之旅"
theme = "hugo-universal-theme"
themesDir = "./themes/"
languageCode = "zh"
hasCJKLanguage = true
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "zh"
pygmentsUseClasses = false
pygmentCodeFences = true
[Permalinks]
# blog = "/blog/:year/:month/:day/:filename/"
blog = "/blog/:year/:filename/"
# support html in markdown
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
# Define the number of posts per page
paginate = 15
[menu]
# Main menu
[[menu.main]]
identifier="home"
name = "主页"
url = "/"
weight = 10
[[menu.main]]
identifier="blog"
name = "内核文章"
url = "/blog/"
weight = 20
[[menu.main]]
identifier="allblog"
name = "所有文章"
url = "/blog/"
weight = 21
parent = "blog"
[[menu.main]]
identifier="beginner"
name = "新手上路"
url = "http://kerneltravel.net/categories/%E6%96%B0%E6%89%8B%E4%B8%8A%E8%B7%AF/"
weight = 22
parent = "blog"
[[menu.main]]
identifier="kernel"
name = "走进内核"
url = "http://kerneltravel.net/categories/%E8%B5%B0%E8%BF%9B%E5%86%85%E6%A0%B8/"
weight = 23
parent = "blog"
[[menu.main]]
identifier="experience"
name = "经验交流"
url = "http://kerneltravel.net/categories/%E7%BB%8F%E9%AA%8C%E4%BA%A4%E6%B5%81/"
weight = 24
parent = "blog"
[[menu.main]]
identifier="magzeine"
name = "电子杂志"
url = "http://kerneltravel.net/categories/%E7%94%B5%E5%AD%90%E6%9D%82%E5%BF%97/"
weight = 25
parent = "blog"
#[[menu.main]]
# identifier = "shipin"
# name = "内核视频"
# url = "https://next.xuetangx.com/course/XIYOU08091001441"
# weight = 40
[[menu.main]]
identifier = "mooc_kernel"
name = "Linux内核分析与应用"
url = "https://next.xuetangx.com/course/XIYOU08091001441"
weight = 41
parent = "bookss"
[[menu.main]]
identifier = "mooc_os"
name = "操作系统及Linux内核"
url = "https://www.icourse163.org/course/0809XIYOU023-1461809182"
weight = 42
parent = "bookss"
[[menu.main]]
identifier = "mooc_coding"
name = "Linux编程技术"
url = "https://www.icourse163.org/course/XIYOU-1461794181"
weight = 43
parent = "bookss"
[[menu.main]]
identifier = "movie"
name = "陈老师讲内核"
url = "/movie/"
weight = 44
parent = "bookss"
[[menu.main]]
identifier = "video"
name = "Linux内核之旅B站"
url = "/video/"
weight = 45
parent = "bookss"
[[menu.main]]
identifier = "lecture"
name = "陈老师讲座"
url = "https://www.bilibili.com/video/BV1MC4y1Y78J"
weight = 46
parent = "bookss"
[[menu.main]]
identifier="project"
name = "内核项目"
url = "/project/"
weight = 50
[[menu.main]]
identifier = "experiment"
name = "实验楼"
url = "https://www.shiyanlou.com/courses/2610"
parent = "bookss"
weight = 51
[[menu.main]]
identifier="bookss"
name = "内核资料"
weight = 70
[[menu.main]]
identifier="book"
name = "开源书籍"
url = "/book/"
parent = "bookss"
weight = 71
[[menu.main]]
identifier="note"
name = "读书笔记"
url = "/note/"
parent = "bookss"
weight = 72
[[menu.main]]
identifier = "github"
name = "github"
url = "https://github.com/linuxkerneltravel"
weight = 80
[[menu.main]]
identifier = "contact"
name = "关于"
url = "/contact/"
weight = 100
# Top bar social links menu
[[menu.topbar]]
weight = 1
name = "GitHub"
url = "https://github.com/devcows/hugo-universal-theme"
pre = "<i class='fab fa-2x fa-github'></i>"
[[menu.topbar]]
weight = 2
name = "Facebook"
url = "http://facebook.com"
pre = "<i class='fab fa-2x fa-facebook'></i>"
[[menu.topbar]]
weight = 3
name = "Twitter"
url = "http://twitter.com"
pre = "<i class='fab fa-2x fa-twitter'></i>"
[[menu.topbar]]
weight = 4
name = "Email"
url = "mailto:your@email.com"
pre = "<i class='fas fa-2x fa-envelope'></i>"
[params]
viewMorePostLink = "/blog/"
author = "helight"
defaultKeywords = ["微服务", "kernel", "DevOps", "go"]
mainSections = ["blog"]
defaultDescription = "Linux内核之旅"
# Social media
facebook_site = "" # the Facebook handle of your site ('https://www.facebook.com/HANDLE')
twitter_site = "GoHugoIO" # the Twitter handle of your site (without the '@')
default_sharing_image = "img/sharing-default.png"
# Google Maps API key (if not set will default to not passing a key.)
# googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y"
# Style options: default (light-blue), blue, green, marsala, pink, red, turquoise, violet
style = "default"
# Since this template is static, the contact form uses www.formspree.io as a
# proxy. The form makes a POST request to their servers to send the actual
# email. Visitors can send up to a 1000 emails each month for free.
#
# What you need to do for the setup?
#
# - set your email address under 'email' below
# - upload the generated site to your server
# - send a dummy email yourself to confirm your account
# - click the confirm link in the email from www.formspree.io
# - you're done. Happy mailing!
#
# Enable the contact form by entering your Formspree.io email
#email = "your@email.com"
#contact_form_ajax = false
about_us = "<p>邮箱:liangjinrong111@163.com <br> 请关注我们的微信公众号:Linux内核之旅</p> <br><p> <img src='/img/weixin.png' alt='Linux内核之旅微信公众号' width='128' height='128'></p>"
copyright = "Copyright (c), linuxkerneltravel, all rights reserved. 【 <a href='https://beian.miit.gov.cn/' target='_blank'>陕ICP备17020329号-1</a> 】"
# Format dates with Go's time formatting
date_format = "2006年1月2日"
logo = "img/logo.png"
logo_small = "img/logo-small.png"
# avatar used for thumbnail on sharing
# avatar = "/img/logo.png"
address = """<p><a href='https://synestiaos.org'>SynestiaOS</p>"""
# 是否开启评论功能
gitalk = true
# Enable or disable top bar with social icons
[params.topbar]
enable = false
text = """<p class="hidden-sm hidden-xs">Contact us on +420 777 555 333 or hello@universal.com.</p>
<p class="hidden-md hidden-lg"><a href="#" data-animate-hover="pulse"><i class="fas fa-phone"></i></a>
<a href="#" data-animate-hover="pulse"><i class="fas fa-envelope"></i></a>
</p>
"""
# Enable and disable widgets for the right sidebar
[params.widgets]
categories = true
tags = true
search = false
[params.carousel]
enable = true
# All carousel items are defined in their own files. You can find example items
# at 'exampleSite/data/carousel'.
# For more informtion take a look at the README.
[params.features]
enable = false
# All features are defined in their own files. You can find example items
# at 'exampleSite/data/features'.
# For more informtion take a look at the README.
[params.testimonials]
enable = false
# All testimonials are defined in their own files. You can find example items
# at 'exampleSite/data/testimonials'.
# For more informtion take a look at the README.
title = "Linux内核之旅开源项目贡献者"
subtitle = "Linux内核之旅致力于传播开源文化,教授和传播Linux内核知识。目前我们有五大平台,包括Linux内核之旅网站、GitHub、微信公众号“Linux内核之旅”、学堂在线mooc和bilibili内核视频站。以下为Linux内核之旅主要贡献者:"
[params.see_more]
enable = false
icon = "far fa-file-alt"
title = "和我一起学习Linux内核吧!"
subtitle = "你可以在我们的GitHub上提交你的代码,也可以给我们的代码打补丁,在学堂在线mooc平台《Linux内核分析与应用》中抛出你的问题,就有机会获得陈莉君教授的答疑。 "
link_url = "https://next.xuetangx.com/course/XIYOU08091001441"
link_text = "点击加入内核学习"
[params.clients]
enable = false
# All clients are defined in their own files. You can find example items
# at 'exampleSite/data/clients'.
# For more informtion take a look at the README.
title = "其他平台"
subtitle = ""
[params.recent_posts]
enable = true
title = "最新内核文章"
subtitle = ""