-
Notifications
You must be signed in to change notification settings - Fork 2
/
_config.yml
267 lines (225 loc) · 9.12 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
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# ---------------------------------------------------------------
# Site Information Settings
# ---------------------------------------------------------------
# title can include HTML code.
title: A-RSnippet <a class="github-button" href="https://github.com/huyingjie/hexo-theme-A-RSnippet" data-icon="octicon-star" data-show-count="true" aria-label="Star huyingjie/hexo-theme-A-RSnippet on GitHub">Star</a>
description: A website for A-RSnippet Hexo Theme
author: Yingjie Hu
language: en
timezone:
# custom Site settings
SEOTitle: An A-RSnippet Hexo Theme
keyword: "hexo, hexo theme, A-RSnippet, responsive, bootstrap" # seo key words
favicon: # your favicon png
# custom end
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://yoursite.com
root: /
# :year/:month/:day/:title/
permalink: :title/
permalink_defaults:
footer:
# Specify the date when the site was setup.
# If not defined, current year will be used.
since: 2015
# Icon between year and copyright info.
# From: http://fontawesome.io/
# Example: user
icon: heart
# If not defined, will be used `author` from Hexo main config.
copyright:
# -------------------------------------------------------------
# Hexo link (Powered by Hexo).
powered: true
# Theme & scheme info link (Theme - A-RSnippet).
theme: true
# -------------------------------------------------------------
# Any custom text can be defined here.
# custom_text: Hosted by <a target="_blank" href="https://pages.github.com">GitHub Pages</a>
# ---------------------------------------------------------------
# Menu Settings
# ---------------------------------------------------------------
menu:
home: /
Tutorial: /tutorial/
LeetCode-category: /leetcode-category/
LeetCode-tag: /leetcode-tag/
archives: /archives/
tags: /tags/
projects: /portfolio-slim/
support: /support/
RSS: /atom.xml
# ---------------------------------------------------------------
# SNS settings
# ---------------------------------------------------------------
# Set rss to false to disable feed link.
# Leave url as empty to use site's feed link.
# Set url to specific value if you have burned your feed already.
rss:
enable: true
url: # if empty, use default url, root_path/atom.xml
# email: [email protected]
# weibo_username:
# zhihu_username:
github_username: huyingjie
twitter_username: yingjieYJH
# facebook_username:
# linkedin_username:
# ---------------------------------------------------------------
# Sidebar settings
# ---------------------------------------------------------------
sidebar: true
sidebar-about-description: data scientist
sidebar-avatar-url: https://avatars3.githubusercontent.com/u/4664280?s=460&v=4
sidebar-description-after-icons: <a href="https://www.patreon.com/arsnippet" target="_blank"><img src="/img/patreon.png" alt="support my work at patron"></a><br><br><a href="https://arsnippet.freeflarum.com/" target="_blank"><img src="/img/forum.jpg" alt="support my work at patron"></a><br><br><a href="https://discord.gg/CB6CPzq" target="_blank"><img src="/img/discord.png" alt="Join the Discord"></a>
# ---------------------------------------------------------------
# Hexo official settings
# ---------------------------------------------------------------
# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:
# Writing: Defined by Hexo
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link: true # Open external links in new tab
filename_case: 0
render_drafts: false
post_asset_folder: true
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: false
tab_replace:
# Category & Tag
default_category: uncategorized
category_map:
tag_map:
# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: MMM D, YYYY
time_format: HH:mm:ss
# Pagination
## Set per_page to 0 to disable pagination
per_page: 8
pagination_dir: page
## Themes: https://hexo.io/themes/
theme: a-rsnippet
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type:
repo:
branch:
# ---------------------------------------------------------------
# Layout settings: homepage
# ---------------------------------------------------------------
# If enable, update date will show on the cover photo.
index_update_date_enable: false
# ---------------------------------------------------------------
# Layout settings: post layout & leetcode layout
# ---------------------------------------------------------------
# If enable, update date will show in the header.
post_update_date_enable: true
# Can contain HTML
# Appear at the begginning of the post
content_before_post: <div class="subscribe"><a href="http://eepurl.com/dh6iCD" target="_blank">Get Updated for Each Release!</a></div><p>
# Can contain HTML
# Appear at the end of the post
content_after_post: <a href="https://www.patreon.com/arsnippet" target="_blank"><img src="/img/patreon.png" alt="support my work at patron"></a> <a href="https://arsnippet.freeflarum.com/" target="_blank"><img src="/img/forum.jpg" alt="support my work at patron"></a> <a href="https://discord.gg/CB6CPzq" target="_blank"><img src="/img/discord.png" alt="Join the Discord"></a>
# default cover image
# example: animated gif as header
cover_default_img: /img/sky-clouds-moon-horizon.jpg?h=350&auto=compress&cs=tinysrgb
# Table Of Contents in the Sidebar
toc:
enable: true
# Automatically add list number to toc.
number: true
# ---------------------------------------------------------------
# Layout settings: page layout
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# Layout settings: arhive layout
# ---------------------------------------------------------------
# archive page title
archive:
title: Archives
subtitle: Cool?
# ---------------------------------------------------------------
# Layout settings: poem layout
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# Layout settings: portfolio-slim layout
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# Layout settings: archive layout
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# Layout settings: 404 layout
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# Layout settings: list-category-leetcode layout
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# Layout settings: list-tag-leetcode layout
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# Layout settings: 404 layout
# ---------------------------------------------------------------
#################################################################
# ---------------------------------------------------------------
# Third Party Services Settings
# ---------------------------------------------------------------
#################################################################
# MathJax Support
mathjax:
enable: true
#per_page: true
cdn: //cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML
# ---------------------------------------------------------------
# Comment settings
# ---------------------------------------------------------------
# Disqus settings
disqus_shortname: hexo-a-rsnippet
# Use livere
# use_livere: false
# livere_uid: MTAyMC8zMz
# ---------------------------------------------------------------
# Analytics settings
# ---------------------------------------------------------------
# Baidu Analytics
baidu_analytics:
# Google Analytics
google_analytics: UA-38355881-1 # Format: UA-xxxxxx-xx
# Google Webmaster tools verification setting
# See: https://www.google.com/webmasters/
# Click "Alternative methods" => Select "HTML tag" => copy the string in the "content" property of "meta" element
# <meta name="google-site-verification" content="xxxxxx" />
# Input xxxxxx below
google_site_verification: wtCjI-zcpr2FYwWS3sI4OWzMK9e7VomDrZyxpVUUIng
bing_site_verification:
yandex_site_verification:
# ---------------------------------------------------------------
# Share
# ---------------------------------------------------------------
add_this_id: ra-5272bc2a7b3c1ddc
# Enable/Disable Update date
# ---------------------------------------------------------------
# Search
# ---------------------------------------------------------------
# search api , set your custom key
# It is not working now. It is a feature in the future.
# swiftype_key:
# Theme version
version: 0.1.0