File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ url: http://yoursite.com
17
17
root : /
18
18
permalink : :year/:month/:day/:title/
19
19
permalink_defaults :
20
+ pretty_urls :
21
+ trailing_index : true # Set to false to remove trailing index.html from permalinks
20
22
21
23
# Directory
22
24
source_dir : source
@@ -32,7 +34,10 @@ skip_render:
32
34
new_post_name : :title.md # File name of new posts
33
35
default_layout : post
34
36
titlecase : false # Transform title into titlecase
35
- 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 :
36
41
filename_case : 0
37
42
render_drafts : false
38
43
post_asset_folder : false
@@ -43,7 +48,7 @@ highlight:
43
48
line_number : true
44
49
auto_detect : false
45
50
tab_replace :
46
-
51
+
47
52
# Home page setting
48
53
# path: Root path for your blogs index page. (default = '')
49
54
# per_page: Posts displayed per page. (0 = disable pagination)
@@ -52,18 +57,24 @@ index_generator:
52
57
path : ' '
53
58
per_page : 10
54
59
order_by : -date
55
-
60
+
56
61
# Category & Tag
57
62
default_category : uncategorized
58
63
category_map :
59
64
tag_map :
60
65
66
+ # Metadata elements
67
+ # # https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
68
+ meta_generator : true
69
+
61
70
# Date / Time format
62
71
# # Hexo uses Moment.js to parse and display date
63
72
# # You can customize the date format as defined in
64
73
# # http://momentjs.com/docs/#/displaying/format/
65
74
date_format : YYYY-MM-DD
66
75
time_format : HH:mm:ss
76
+ # # Use post's date for updated date unless set in front-matter
77
+ use_date_for_updated : false
67
78
68
79
# Pagination
69
80
# # Set per_page to 0 to disable pagination
You can’t perform that action at this time.
0 commit comments