forked from Haojen/hexo-theme-Anisina
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
executable file
·170 lines (138 loc) · 3.85 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
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: Haojen # your blog title name
subtitle:
author: Haojen Ma # 作者
language:
timezone:
# custom Site settings
# more detail check out docs
SEOTitle: Haojen's blog
header-img: //o7bkkhiex.bkt.clouddn.com/lion-blur-bg.jpg
email: [email protected]
description: "马浩珍在 Github 上的个人博客"
keyword: # 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://haojen.github.io
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
# SNS settings
# RSS:
weibo_username: haojen
zhihu_username: megahertz
github_username: haojen
twitter_username: ehazon
facebook_username:
linkedin_username:
# Build settings
anchorjs: false # if you want to customize anchor. check out line:181 of `post.html`
# Disqus settings
disqus_username:
# Duoshuo settings
duoshuo_username: # 你的多说帐号
# Share component is depend on Comment so we can NOT use share only.
duoshuo_share: false # set to false if you want to use Comment without Sharing
# gitment settings
use_gitment: false
gitment_owner: Hstb1230 #你的 GitHub ID
gitment_repo: hstb1230.github.io #存储评论的 repo
gitment_oauth_client_id:
gitment_oauth_client_secret:
gitment_perPage: 10 #每页评论数
gitment_maxCommentHeight: 250 #最多评论数
# Use livere
use_livere:
# Analytics settings
# Baidu Analytics
ba_track_id:
# Google Analytics
ga_track_id: # Format: UA-xxxxxx-xx
ga_domain:
# Sidebar settings
sidebar-about-description: # 个人描述
sidebar-avatar: # use absolute URL
# Featured Tags
featured-tags: true # whether or not using Feature-Tags
featured-condition-size: 1 # A tag will be featured if the size of it is more than this condition value
# friends
echofriends: false
friends: # 友链
# 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
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: false
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: YYYY-MM-DD
time_format: HH:mm:ss
# Pagination
## Set per_page to 0 to disable pagination
per_page: 8
pagination_dir: page
# Extensions
## Plugins: https://hexo.io/plugins/
markdown:
plugins:
- markdown-it-abbr
- markdown-it-footnote
- markdown-it-ins
- markdown-it-sub
- markdown-it-sup
- markdown-it-emoji
## Themes: https://hexo.io/themes/
theme: Anisina
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type:
repo:
branch:
# img CDN path
cdn-url: # 你的CDN地址
# Qiniu imageView2 API
# More info http://developer.qiniu.com/code/v6/api/kodo-api/image/imageview2.html
clip-content: "?imageView2/1/w/1400/h/400/interlace/1/q/90"
clip-avatar: "?imageView2/2/w/300/h/300/interlace/1/q/90"
clip-home-post-bg: "?imageView2/1/w/800/h/300/interlace/1/q/70"
# post default images
post-default-img: #博文默认的图片
post-default-img-mobile: #移动端显示的图片
# search api , set your custom key
swiftype_key:
# archive page title
archive:
title: archives
description: 可以根据归档日期检索所有文件