forked from probberechts/hexo-theme-cactus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
221 lines (188 loc) · 6.81 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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
##############################################################################
# Content
##############################################################################
# Link to a page that gives an overview of all your projects.
# This can be an external link (e.g., to you GitHub profile) or to another
# page within your website.
projects_url: https://github.com/probberechts/hexo-theme-cactus
# Set the page direction to RTL or LTR. default is LTR. (if you set it 'rtl', the 'vazir' font will be loaded.)
direction: ltr
# Configure the navigation menu.
# A pair 'Key: url' will result in a link to 'url' with the name 'Key' in the
# navigation menu. Optionally, you can add translations for the 'Key' in
# languages/*.yml
nav:
home: /
about: /about/
articles: /archives/
projects: https://github.com/TommySoya/TommySoya.github.io
tag: /tags/
search: /search/
# Links to your social media accounts.
# The 'icon' keys should correspond to Fontawesome icon names
# (see https://fontawesome.com/icons?d=gallery&s=brands);
# only 'mail' is an exception.
# You can optionally add a 'label' key to set the title attribute on the link.
# 'icon' value will be used as title when 'label' is missing.
social_links:
-
icon: github
label: "GitHub"
link: "http://github.com/TommySoya"
-
icon: bilibili
label: "BiliBili"
link: "https://space.bilibili.com/13285716"
-
icon: mail
label: "Email"
link: "51265903105@stu.ecnu.edu.cn"
-
icon: mastodon
label: "mastodon.social"
link: "https://mastodon.social/@alice"
# Customize the overview with displaying a tagcloud on the index page.
# Options: https://hexo.io/docs/helpers.html#tagcloud
tags_overview: false
# Customize the overview with the most recent blog posts on the index page.
# Options:
# - show_all_posts: whether to show all available posts.
# - post_count: whether to show only the x most recent posts.
# - sort_updated: sort posts by last modification date instead of creation date.
posts_overview:
show_all_posts: false
post_count: 5
sort_updated: false
# Customize the archive view.
# Options:
# - sort_updated: sort posts by last modification date instead of creation date.
# Note: this does not work together with pagination, since the pagination
# plugin will sort pages by date of creation.
archive:
sort_updated: false
# Customize the article view.
# Options:
# - show_updated: show the last modification date.
post:
show_updated: false
# Customize the copyright years
# Note: if start_year/end_year not provided, will use current year.
copyright:
start_year: 2024
end_year: 2028
# Customize the 404 page
# Options:
# - enabled: whether to enable the 404 page (404.html).
error_404:
enabled: true
title: "404 Page Not Found"
description: "The page you are looking for might have been removed, had its name changed, or is temporarily unavailable."
##############################################################################
# Look and Feel
##############################################################################
# Customize the logo (i.e., the cactus) in the header.
# Options:
# - enabled: whether to show (true) or hide (false) the logo.
# - width: width of the logo in pixel units
# - height: height of the logo in pixel units
# - url: where the logo can be found
# - gravatar: whether to use your Gravatar as the logo
# - grayout: whether to enable a hover effect on the logo
logo:
enabled: true
width: 50
height: 50
url: /images/avatar.jpg
gravatar: false
grayout: true
# Customize the favicons.
# Cactus supports a limited set of the three most important icons:
# - desktop: The classic favion.ico file.
# - android: A 192x192 PNG file.
# - apple: A 180x180 PNG file.
# These can be generated with http://realfavicongenerator.net/
# Options:
# - url: where the icon can be found
# - gravatar: whether to create a favicon from your Gravatar
favicon:
desktop:
url: /images/favicon.ico
gravatar: false
android:
url: /images/favicon-192x192.png
gravatar: false
apple:
url: /images/apple-touch-icon.png
gravatar: false
# The color scheme that should be used to highlight codeblocks.
# See source/css/_highlight for a list of all available color schemes.
# highlight: rainbow
# Set the color scheme.
# Available color schemes are 'dark', 'light', 'classic' and 'white'.
# Alternatively, add your own custom color scheme to source/css/_colors.
colorscheme: white
# Maximal width of the page in rem units.
page_width: 48
##############################################################################
# Miscellaneous
##############################################################################
# Enable or disable the RSS feed.
rss: false
# Turn your web pages into graph objects (see http://ogp.me).
open_graph:
fb_app_id:
fb_admins:
twitter_id:
google_plus:
##############################################################################
# Plugins
##############################################################################
# Enable MathJax support for Latex
mathjax:
enabled: true
# Fill in your Disqus Comments Shortname to enable Disqus comments.
disqus:
enabled: false
shortname: cactus-1
# Fill in your Utterances data to enable Utterances comments
utterances:
enabled: false
repo: owner/githubrepo
issue_term: pathname
label: Comment
theme: github-dark
# Fill in your Google Analytics tracking ID to enable Google Analytics.
google_analytics:
enabled: false
id: UA-86660611-1
# Fill in your Baidu Analytics tracking ID to enable Baidu Analytics.
baidu_analytics:
enabled: false
id: 2e6da3c375c8a87f5b664cea6d4cb29c
# Fill in your Cloudflare Analytics tracking ID to enable Cloudflare Analytics.
cloudflare_analytics:
enabled: false
id: 0dabb6e21848405483a237e6a7b6ed04
# Fill in your Umami Analytics tracking ID to enable Umami Analytics.
umami_analytics:
enabled: false
id: e77e68be-f6e4-4br3-9365-2b76b57cd571
host: https://analytics.domain.com
script_name: umami.js
# Fill in you Gravatar email or hash if you want to use your gravatar as the
# logo and/or favicons of you website.
# To generate hash: `$ echo -n "name@email.com" | md5`.
gravatar:
email: name@email.com
hash: d41d8cd98f00b204e9800998ecf8427e
# loads libraries and styles from CDN instead or relying on local files
cdn:
enable: true
jquery: https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js
clipboard: https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.7/clipboard.min.js
font_awesome: https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css
justified_gallery_css: https://cdnjs.cloudflare.com/ajax/libs/justifiedGallery/3.8.1/css/justifiedGallery.min.css
justified_gallery_js: https://cdnjs.cloudflare.com/ajax/libs/justifiedGallery/3.8.1/js/jquery.justifiedGallery.min.js
# busuanzi visit count statistics
busuanzi:
enable: true