Skip to content

Commit 909b629

Browse files
committed
修改插件配置
1 parent e60458c commit 909b629

File tree

2 files changed

+7
-19
lines changed

2 files changed

+7
-19
lines changed

_config.yml

+6-18
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ markdown:
3434
- markdown-it-table-of-contents
3535
- markdown-it-task-lists
3636

37+
nofollow:
38+
enable: true
39+
field: site
40+
3741
html_minifier:
3842
enable: true
3943
ignore_error: false
@@ -50,31 +54,15 @@ js_minifier:
5054
exclude:
5155
- "*.min.js"
5256
image_minifier:
53-
enable: true
54-
interlaced: true
55-
multipass: true
56-
optimizationLevel: 2
57-
pngquant: true
58-
progressive: true
59-
silent: false
57+
enable: false
6058

6159
sitemap:
6260
path: sitemap.xml
6361
rel: true
6462
tags: true
6563
categories: false
6664

67-
nofollow:
68-
enable: true
69-
field: site
70-
7165
feed:
7266
enable: true
73-
type: atom
74-
autodiscovery: true
75-
content: true
76-
hub: https://pubsubhubbub.appspot.com
77-
icon: /favicon.ico
78-
limit: 20
79-
order_by: -date
67+
icon: /favicon.png
8068
template: ./atom_template.xml

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"hexo": {
55
"version": "7.1.1"
66
},
7-
"license": "EPL-1.0",
7+
"license": "GPL-3.0-only",
88
"repository": {
99
"type": "git",
1010
"url": "git+https://github.com/Potat0000/Blog.git"

0 commit comments

Comments
 (0)