forked from FromEndWorld/LOFFER
-
Notifications
You must be signed in to change notification settings - Fork 1
/
_config.yml
178 lines (145 loc) · 4.74 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
#
# 这个文档包含了本博客的设定信息,你可以编辑它来个性化自己的博客,
#
# 你的博客名称,请用你想要的博客名替换“LOFFER”,以下修改都可类似处理
# 注意,“name: LOFFER”,冒号后面的空格不可以省略。
# 井号后面的文字是说明文档,不会被程序读取。
name: 梦的杂物间
# 描述/签名
description: 喵神常抚摸我,于是我写博客
#
# 下面的设定都是可选的
#
# 你的博客logo图片URL,建议尺寸不超过300px × 300px
avatar: https://s2.loli.net/2022/01/18/l3WrdeoC89ZvNn4.png
# 你的favicon(出现在浏览器tab上)图片URL,建议使用较小(64px × 64px)的图片
favicon: https://s2.loli.net/2022/01/18/9A4dtcVLbaGQIvu.png
# 菜单中的按钮
navigation:
- name: 首页
url: /
- name: 关于
url: /about
- name: 归档
url: /archive
- name: 标签
url: /tags
- name: 友链
url: /friends
# 每页的文章数
paginate: 8
# 文章简介的区分标记
excerpt_separator: <!-- more -->
# 你的社交网络链接,它们会作为图标出现在你的网站页脚中,可选填写
footer-links:
weibo: #请输入你的微博个性域名 https://www.weibo.com/
behance: # https://www.behance.net/<>
dribbble: # https://dribbble.com/<>
email: [email protected]
facebook: #https://www.facebook.com/<>
flickr: #https://www.flickr.com/<>
github: # FromEndWorld/loffer #https://github.com/<>
instagram: #https://instagram.com/<>
linkedin: #https://www.linkedin.com/in/<>
pinterest: #https://www.pinterest.com/<>
rss: http://mo.b-hu.org/feed.xml
stackoverflow: # http://stackoverflow.com/<>
tumblr: # https://<username>.tumblr.com
twitter: # https://www.twitter.com/<your_twitter_username>
youtube: # channel/<your_long_string> or user/<user-name>
mastodon: meomo
# 站点页脚的文字
footer-text: 除非特殊声明,原创文章采用<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh" target="_blank">CC-BY-NC-SA 4.0 许可协议</a>.<br/><a href="https://icp.gov.moe/?keyword=20220127" target="_blank">萌ICP备20220127号</a>
# 评论,注意,请不要同时添加多种不同的评论区
# 输入Disqus shortname,即可添加评论区
disqus: #shortname
# 输入Gitalk相关设定,即可添加评论区
gitalk:
clientID:
clientSecret:
repo:
owner:
# 输入Google Analytics web tracking code
google_analytics:
# 输入你的网站域名(如果你没有添加自己的域名,而是直接用GitHub pages分配的域名的话可以省略)
url: http://mo.b-hu.org
# 添加你的博客的二级域名,一般来说是你的repository名
# 如果你的博客的URL是:(http://yourusername.github.io/repository-name)
# 那么就写成 "/repository-name"
baseurl:
#
# !! 以下所有设置都不需要更改 !!
#
permalink: /:title/
paginate_path: /page:num/
# The release of Jekyll Now that you're using
version: v1.2.0
timezone: Asia/Shanghai
# Jekyll 3 now only supports Kramdown for Markdown
kramdown:
# Use GitHub flavored markdown, including triple backtick fenced code blocks
input: GFM
# Jekyll 3 and GitHub Pages now only support rouge for syntax highlighting
syntax_highlighter: rouge
syntax_highlighter_opts:
# Use existing pygments syntax highlighting css
css_class: 'highlight'
# Set the Sass partials directory, as we're using @imports
sass:
style: :expanded # You might prefer to minify using :compressed
# Use the following plug-ins
plugins:
- jekyll-sitemap # Create a sitemap using the official Jekyll sitemap gem
- jekyll-feed # Create an Atom feed using the official Jekyll feed gem
- jekyll-paginate
# Exclude these files from your production _site
exclude:
- Gemfile
- Gemfile.lock
- LICENSE
- README.md
- CNAME
# prose相关设定
prose:
rooturl: "_posts"
siteurl: "http://mo.b-hu.org"
media: "images"
metadata:
_posts:
- name: "layout"
field:
element: "hidden"
value: "post"
- name: "title"
field:
element: "text"
label: "标题"
value: ""
placeholder: "在此输入标题"
type: "text"
- name: "date"
field:
element: "hidden"
value: "CURRENT_DATETIME"
- name: "author"
field:
element: "hidden"
value: "梦貘"
- name: "categories"
field:
element: "text"
value: ""
label: "分类"
placeholder: "在此输入分类"
type: "text"
- name: "tags"
field:
element: "text"
value: ""
label: "标签"
placeholder: "在此输入标签"
type: "text"
- name: "comments"
field:
element: "hidden"
value: "true"