4
4
5
5
# Site
6
6
title : EyreFree
7
- subtitle :
7
+ subtitle : ' '
8
8
description : EyreFree's Blog
9
+ keywords :
9
10
author : EyreFree
10
- language :
11
- timezone :
11
+ language : zh-CN
12
+ timezone : ' '
12
13
13
14
# URL
14
- # # If your site is put in a subdirectory , set url as 'http ://yoursite.com/child' and root as '/child/ '
15
+ # # Set your site url here. For example, if you use GitHub Page , set url as 'https ://username.github.io/project '
15
16
url : http://www.eyrefree.org
16
- root : /
17
17
permalink : :year/:month/:day/:title/
18
18
permalink_defaults :
19
+ pretty_urls :
20
+ trailing_index : true # Set to false to remove trailing 'index.html' from permalinks
21
+ trailing_html : true # Set to false to remove trailing '.html' from permalinks
19
22
20
23
# Directory
21
24
source_dir : source
@@ -31,7 +34,10 @@ skip_render:
31
34
new_post_name : :title.md # File name of new posts
32
35
default_layout : post
33
36
titlecase : false # Transform title into titlecase
34
- external_link : true # Open external links in new tab
37
+ external_link :
38
+ enable : true # Open external links in new tab
39
+ field : site # Apply to the whole site
40
+ exclude : ' '
35
41
filename_case : 0
36
42
render_drafts : false
37
43
post_asset_folder : false
@@ -41,35 +47,70 @@ highlight:
41
47
enable : true
42
48
line_number : false
43
49
auto_detect : false
44
- tab_replace :
50
+ tab_replace : ' '
51
+ wrap : true
52
+ hljs : false
53
+ prismjs :
54
+ enable : false
55
+ preprocess : true
56
+ line_number : false
57
+ tab_replace : ' '
58
+
59
+ # Home page setting
60
+ # path: Root path for your blogs index page. (default = '')
61
+ # per_page: Posts displayed per page. (0 = disable pagination)
62
+ # order_by: Posts order. (Order by date descending by default)
63
+ index_generator :
64
+ path : ' '
65
+ per_page : 10
66
+ order_by : -date
45
67
46
68
# Category & Tag
47
69
default_category : uncategorized
48
70
category_map :
49
71
tag_map :
50
72
73
+ # Metadata elements
74
+ # # https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
75
+ meta_generator : true
76
+
51
77
# Date / Time format
52
78
# # Hexo uses Moment.js to parse and display date
53
79
# # You can customize the date format as defined in
54
80
# # http://momentjs.com/docs/#/displaying/format/
55
81
date_format : YYYY-MM-DD
56
82
time_format : HH:mm:ss
83
+ # # updated_option supports 'mtime', 'date', 'empty'
84
+ updated_option : ' mtime'
57
85
58
86
# Pagination
59
87
# # Set per_page to 0 to disable pagination
60
88
per_page : 10
61
89
pagination_dir : page
62
90
91
+ # Include / Exclude file(s)
92
+ # # include:/exclude: options only apply to the 'source/' folder
93
+ include :
94
+ exclude :
95
+ ignore :
96
+
63
97
# Extensions
64
98
# # Plugins: https://hexo.io/plugins/
65
99
# # Themes: https://hexo.io/themes/
66
- theme : landscape
100
+ # theme: cactus
101
+ theme : fexo
102
+
103
+ search :
104
+ path : search.json
105
+ field : post
106
+ content : true
107
+ template : ./search.json
67
108
68
109
# Deployment
69
- # # Docs: https://hexo.io/docs/deployment.html
110
+ # # Docs: https://hexo.io/docs/one-command- deployment
70
111
deploy :
71
112
type : git
72
113
repo :
73
114
# coding: [email protected] :eyrefree/eyrefree.git
74
115
github :
[email protected] :EyreFree/eyrefree.github.io.git
75
- branch : master
116
+ branch : master
0 commit comments