-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathsettings.yaml
More file actions
181 lines (181 loc) · 4.36 KB
/
settings.yaml
File metadata and controls
181 lines (181 loc) · 4.36 KB
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
general:
label: 基本设置
items:
scrollbar_background_color:
name: scrollbar_background_color
label: 滚动条颜色
type: color
default: '#6c757d'
placeholder: '滚动条颜色'
link_color:
name: link_color
label: 链接颜色
type: color
default: '#007bff'
placeholder: '链接颜色'
hover_color:
name: hover_color
label: 鼠标滑过颜色
type: color
default: '#dc3545'
placeholder: '鼠标滑过颜色'
progress_color:
name: progress_color
label: 阅读进度条颜色
type: color
default: '#dc3545'
placeholder: '阅读进度条颜色'
open_rss:
name: open_rss
label: 是否启用RSS
type: radio
data-type: bool
default: true
options:
- value: true
label: 启用
- value: false
label: 关闭
open_read_progress:
name: open_read_progress
label: 是否使用阅读进度条
type: radio
data-type: bool
default: true
options:
- value: true
label: 显示
- value: false
label: 关闭
link_on_blank_page:
name: link_on_blank_page
label: 启用新标签页打开链接
type: radio
data-type: bool
default: true
options:
- value: true
label: 启用
- value: false
label: 关闭
open_share:
name: open_share
label: 是否启用分享
type: radio
data-type: bool
default: true
options:
- value: true
label: 启用
- value: false
label: 关闭
twitter_account_share:
name: twitter_account_share
label: 转发时@推特账号
type: text
default: ''
placeholder: '转发时@推特账号'
journals_description:
name: journals_description
label: 日志界面的描述信息
type: textarea
default: ''
placeholder: '日志界面的描述信息'
user_info:
label: 用户信息
items:
user_location:
name: user_location
label: 位置信息
type: text
default: '北京 海淀'
placeholder: '住址'
github_url:
name: github_url
label: Github地址
type: text
default: ''
placeholder: 'Github地址'
qq_number:
name: qq_number
label: QQ账号(需开通 https://shang.qq.com/v3/widget.html)
type: number
default: ''
placeholder: 'QQ账号'
weibo_url:
name: weibo_url
label: 微博链接
type: text
default: ''
placeholder: '微博链接'
twitter_account:
name: twitter_account
label: 推特账号
type: text
default: ''
placeholder: '推特账号'
email_address:
name: email_address
label: 邮箱地址
type: email
default: ''
placeholder: '邮箱地址'
code:
label: 代码设置
items:
line_number:
name: line_number
label: 是否显示行号
type: radio
data-type: bool
default: true
options:
- value: true
label: 显示
- value: false
label: 关闭
code_copy:
name: code_copy
label: 是否启用代码复制
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
code_type:
name: code_type
label: 是否在代码右上角显示代码类型
type: radio
data-type: bool
default: true
options:
- value: true
label: 显示
- value: false
label: 关闭
mobile_catalog:
name: mobile_catalog
label: 是否在手机上启用目录功能
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
code_css_url:
name: code_css_url
label: 代码样式地址
type: text
default: 'https://cdn.staticfile.org/highlight.js/9.18.1/styles/github.min.css'
placeholder: '代码样式地址'
code_font_family:
name: code_font_family
label: 代码字体(注意引号)
type: text
default: '"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace'
placeholder: '代码字体'