Skip to content

Commit 344b960

Browse files
committed
更新Hexo和Fexo
1 parent bd27c91 commit 344b960

File tree

134 files changed

+5568
-12992
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+5568
-12992
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 20

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Thumbs.db
33
db.json
44
*.log
5+
node_modules/
56
public/
67
.deploy*/
7-
node_modules/
8+
_multiconfig.yml

_config.yml

Lines changed: 51 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,21 @@
44

55
# Site
66
title: EyreFree
7-
subtitle:
7+
subtitle: ''
88
description: EyreFree's Blog
9+
keywords:
910
author: EyreFree
10-
language:
11-
timezone:
11+
language: zh-CN
12+
timezone: ''
1213

1314
# 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'
1516
url: http://www.eyrefree.org
16-
root: /
1717
permalink: :year/:month/:day/:title/
1818
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
1922

2023
# Directory
2124
source_dir: source
@@ -31,7 +34,10 @@ skip_render:
3134
new_post_name: :title.md # File name of new posts
3235
default_layout: post
3336
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: ''
3541
filename_case: 0
3642
render_drafts: false
3743
post_asset_folder: false
@@ -41,35 +47,70 @@ highlight:
4147
enable: true
4248
line_number: false
4349
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
4567

4668
# Category & Tag
4769
default_category: uncategorized
4870
category_map:
4971
tag_map:
5072

73+
# Metadata elements
74+
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
75+
meta_generator: true
76+
5177
# Date / Time format
5278
## Hexo uses Moment.js to parse and display date
5379
## You can customize the date format as defined in
5480
## http://momentjs.com/docs/#/displaying/format/
5581
date_format: YYYY-MM-DD
5682
time_format: HH:mm:ss
83+
## updated_option supports 'mtime', 'date', 'empty'
84+
updated_option: 'mtime'
5785

5886
# Pagination
5987
## Set per_page to 0 to disable pagination
6088
per_page: 10
6189
pagination_dir: page
6290

91+
# Include / Exclude file(s)
92+
## include:/exclude: options only apply to the 'source/' folder
93+
include:
94+
exclude:
95+
ignore:
96+
6397
# Extensions
6498
## Plugins: https://hexo.io/plugins/
6599
## 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
67108

68109
# Deployment
69-
## Docs: https://hexo.io/docs/deployment.html
110+
## Docs: https://hexo.io/docs/one-command-deployment
70111
deploy:
71112
type: git
72113
repo:
73114
# coding: [email protected]:eyrefree/eyrefree.git
74115
github: [email protected]:EyreFree/eyrefree.github.io.git
75-
branch: master
116+
branch: master

0 commit comments

Comments
 (0)