-
Notifications
You must be signed in to change notification settings - Fork 34
/
_config.yml
119 lines (104 loc) · 2.43 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
# html lang
# language: en
# main menu navigation
menu:
Home: /
Tags: /tags
Categories: /categories
Archives: /archives
About: /about
# Miscelaneous
favicon: /favicon.ico
# avatar
avatar: /avatar.png
# 侧边栏
# friendlink:友链,设置为 true 的同时在 data 中加入链接和描述
toc:
enable: true
friendlink:
enable: false
data:
- url: https://github.com/fan-lv
text: 友链1:这是简介
- url: https://github.com/fan-lv
text: 友链2
- url: https://github.com/fan-lv
text: 友链3
# Footer Settings
# ---------------
footer:
since:
enable: true
year: 2017
beian:
enable: false
icp: ''
links:
enable: true
data:
- url: https://github.com/fan-lv
text: GitHub
- url: mailto:[email protected]
text: E-Mail
- url: tencent://message/?uin=1019593584&Site=&Menu=yes
text: QQ
# busuanzi count for PV / UV in site
busuanzi:
# count values only if the other configs are false
enable: true
# custom uv span for the whole site
site_uv: true
site_uv_header: <i class="fas fa-user"></i>
site_uv_footer:
# custom pv span for the whole site
site_pv: true
site_pv_header: <i class="fas fa-eye"></i>
site_pv_footer:
# custom pv span for one page only
page_pv: true
page_pv_header: <i class="fas fa-file-o"></i>
page_pv_footer:
# stylesheets loaded in the <head>
stylesheets:
- /css/fan.css
- /css/thirdparty/jquery.mCustomScrollbar.min.css
- https://imsun.github.io/gitment/style/default.css
# scripts loaded in the end of the body
scripts:
- /js/thirdparty/jquery-3.3.1.min.js
- /js/thirdparty/velocity.min.js
- /js/thirdparty/jquery.mCustomScrollbar.concat.min.js
- /js/fan.js
- /js/canvas_bg.js
- /js/utils.js
- /js/scroll.js
- /js/sidebar.js
- /js/copy.js
# post 配置
post_meta:
date_type: updated # created or updated
categories: true
tags: true
# recent-posts 中文章内容显示的字数
# 不推荐使用,请尽量在文章中使用 <!-- more --> 来定位要截断的内容
auto_excerpt:
enable: false
length: 200
# algolia 搜索
algolia_search:
enable: true
hits:
per_page: 10
# 本地搜索
local_search:
enable: false
# 复制代码
post_copyright:
enable: true
license: CC BY-NC-SA 4.0
license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/
# 评论
comments:
enable: true
# 使用哪种评论插件["gitment", "valine","twikoo"]
type: "valine"