-
Notifications
You must be signed in to change notification settings - Fork 1
/
_config.yml
115 lines (96 loc) · 3.02 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
### Metadata Configuration
# headline will be displayed on index page
headline: Hi, There!
# menu link list displayed on navbar
menu:
# Archives: # title of list item
# icon: iconfont icon-work # icon is displayed leftside
# link: /archives/ # link
# Directory:
# icon: iconfont icon-folder-close
# link: /directory/
# icon_only: true # to not display title
# display social information on index page
# set title to false to display icon only
homePageMeta:
enable: false
# social: # if enabled, configure like this
# github:
# icon: iconfont icon-github
# link: https://github.com/sshwy
# title: false # icon only
# codeforcesID:
# icon: iconfont icon-codeforces
# link: https://codeforces.com/profile/sshwyR
# title: sshwyR
# displayed on footer of every page
copyright:
duration: 2019-2021
license:
title: Creative Commons Attribution-ShareAlike 4.0 International License
link: https://creativecommons.org/licenses/by-sa/4.0/
# display friend links on page footer
# write information in base_dir/source/_data/_firends.yml with following format:
#
# friend:
# title: 'A Friend'
# link: https://example.com
#
# the `title' attribute supports html tag for custom style
friends:
enable: true
### Render & Widgets Configuration
# katex (client side render)
katex: true
# buttons fixed on the right bottom side of your screen
button:
back2top: true # back to top
darkmode: true # light/dark mode toggler
comment: true # jump to valine comment
# display the number of characters of the post
wordcount: true
# valine comment configuration
valine:
enable: true
appid:
appkey:
placeholder:
visitor: true
serverURLs: # for chinese users
# local search on navbar
search:
enable: true
# display recently updated posts
recently:
enable: true
count: 6 # max count
# display recommended posts on index page
# write `recommend: true` in frontmatter to make your article recommended
recommend:
enable: true
# generate a set of directory page under <BLOG_BASE_URL>/directory/
directory:
enable: true
title: Directory
parent_directory: Directory Above
wordmap:
home_page: 主页
# Place custom css stylesheet file under base_dir/prism/
# MAKE SURE to replace the .css suffix with .styl!
# view theme_dir/prism/ for builtin prism themes
prismjs:
theme: # light mode and dark mode theme respectively
light: prism # name of the style file, no suffix required
dark: prism-vsc-dark-plus
### Automatization Configuration
# whether update post hash automatically everytime running hexo
# WARNING: it CHANGES frontmatter of source files of your post!
# to disable post hash for *single* post, write `historyHash: false` in frontmatter
historyHash: true
### CDN Configuration
cdn:
valine: https://cdn.jsdelivr.net/npm/valine
katex:
js: https://cdn.jsdelivr.net/npm/katex@0.13.0/dist/katex.min.js
css: https://cdn.jsdelivr.net/npm/katex@0.13.0/dist/katex.min.css
leancloud_storage: https://cdn.jsdelivr.net/npm/leancloud-storage@4.11.1/dist/av-min.js