-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.yaml
189 lines (176 loc) · 4.36 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
baseURL: "https://wdd.js.org"
title: "洞香春"
paginate: 10
# theme: ananke
theme: PaperMod
enableRobotsTXT: true
buildDrafts: true
buildFuture: false
buildExpired: false
timeZone: "Asia/Shanghai"
#googleAnalytics: G-SGW660ZWKM
minify:
disableXML: true
minifyOutput: true
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
title: "洞香春"
description: "Eddie Wang的个人博客"
keywords: [Blog, Portfolio, PaperMod]
author: "Eddie Wang"
images: ["<link or path of image for opengraph, twitter-cards>"]
DateFormat: "2006-01-02 15:04:05"
defaultTheme: light #auto # dark, light
disableThemeToggle: false
ShowReadingTime: true
ShowShareButtons: false
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowAllPagesInArchive: true
ShowCodeCopyButtons: true
disableSpecial1stPost: false
disableScrollToTop: false
comments: true
hidemeta: false
hideSummary: false
showtoc: true
tocopen: true
customcss:
- "/font-awesome/css/font-awesome.min.css"
assets:
# disableHLJS: true # to disable highlight.js
# disableFingerprinting: true
favicon: "/cowboy.ico"
favicon16x16: "/cowboy.ico"
favicon32x32: "/cowboy.ico"
apple_touch_icon: "/cowboy.ico"
safari_pinned_tab: "/cowboy.ico"
label:
text: "洞香春"
icon: "/cowboy.ico"
iconHeight: 35
# profile-mode
profileMode:
enabled: false # needs to be explicitly set
title: "Eddie Wang"
subtitle: "前端/软交换开发"
imageUrl: "/images/my.jpg"
imageWidth: 120
imageHeight: 120
imageTitle: my image
buttons:
- name: 文章
url: posts
- name: 标签
url: tags
# home-info mode
homeInfoParams:
enabled: false
Title: "Eddie Wang"
Content: "当你在穿山越岭的另一边, 我在孤独的路上没有尽头"
socialIcons:
- name: github
url: "https://github.com/wangduanduan"
- name: email
url: "mailto://[email protected]"
- name: RSS
url: "https://wdd.js.org/index.xml"
- name: other
url: "https://yuque.com/wangdd"
analytics:
#google:
#SiteVerificationTag: "G-SGW660ZWKM"
cover:
hidden: true # hide everywhere but not in structured data
hiddenInList: false # hide on list pages and home
hiddenInSingle: true # hide on single page
editPost:
URL: "https://github.com/<path_to_repo>/content"
Text: "Suggest Changes" # edit text
appendFilePath: true # to append file path to Edit link
# for search
# https://fusejs.io/api/options.html
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
keys: ["title", "permalink", "summary", "content"]
menu:
main:
- identifier: id_fs
name: "FreeSWITCH"
url: /freeswitch/
weight: 10
- identifier: id_books
name: "读书"
url: /books/
weight: 8
- identifier: id_vim
name: "VIM"
url: /vim/
weight: 10
- identifier: id_fe
name: "前端"
url: /fe/
weight: 10
- identifier: id_kama
name: "Kamailio"
url: /kamailio/
weight: 10
# - identifier: id_container
# name: "k8s/docker"
# url: /container/
# weight: 10
# - identifier: id_shell
# name: "Shell"
# url: /shell/
# weight: 10
- identifier: id_opensips
name: "OpenSIPS"
url: /opensips/
weight: 10
- identifier: id_network
name: "Network"
url: /network/
weight: 10
- identifier: id_golang
name: "Golang"
url: /golang/
weight: 10
- identifier: id_categories
name: "分类"
url: /categories/
weight: 10
- identifier: id_tags
name: "标签"
url: /tags/
weight: 20
- identifier: id_search
name: "搜索"
url: /search/
weight: 20
- identifier: id_archives
name: "归档"
url: /archives/
weight: 30
- identifier: id_about
name: "我"
url: /about/
weight: 31
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
# pygmentsUseClasses: true
# markup:
# highlight:
# # anchorLineNos: true
# codeFences: true
# guessSyntax: true
# lineNos: true
# style: monokai
outputs:
home:
- HTML
- RSS
- JSON # is necessary