Skip to content

Commit 5555904

Browse files
committed
[optimize] upgrade Hexo framework
1 parent ec1ac7f commit 5555904

File tree

5 files changed

+16
-17
lines changed

5 files changed

+16
-17
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=https://registry.npm.taobao.org

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@
1010
"doc": "source/_post/"
1111
},
1212
"hexo": {
13-
"version": "3.9.0"
13+
"version": "4.0.0"
1414
},
1515
"dependencies": {
16-
"hexo": "^3.9.0",
16+
"hexo": "^4.0.0",
1717
"hexo-auto-category": "^0.2.0",
18-
"hexo-deployer-git": "^1.0.0",
19-
"hexo-generator-archive": "^0.1.5",
20-
"hexo-generator-category": "^0.1.3",
21-
"hexo-generator-feed": "^1.2.2",
22-
"hexo-generator-index": "^0.2.1",
18+
"hexo-deployer-git": "^2.0.0",
19+
"hexo-generator-archive": "^1.0.0",
20+
"hexo-generator-category": "^1.0.0",
21+
"hexo-generator-feed": "^2.0.0",
22+
"hexo-generator-index": "^1.0.0",
2323
"hexo-generator-slidehtml": "0.0.62",
24-
"hexo-generator-tag": "^0.2.0",
24+
"hexo-generator-tag": "^1.0.0",
2525
"hexo-migrator-web": "^0.4.7",
2626
"hexo-permalink-pinyin": "^1.1.0",
2727
"hexo-pwa": "^0.1.3",
2828
"hexo-reference": "^1.0.4",
29-
"hexo-renderer-ejs": "^0.3.1",
30-
"hexo-renderer-marked": "^1.0.1",
31-
"hexo-renderer-stylus": "^0.3.3",
32-
"hexo-server": "^0.3.3",
29+
"hexo-renderer-ejs": "^1.0.0",
30+
"hexo-renderer-marked": "^2.0.0",
31+
"hexo-renderer-stylus": "^1.1.0",
32+
"hexo-server": "^1.0.0",
3333
"icalendar": "^0.7.1"
3434
},
3535
"scripts": {
@@ -44,7 +44,7 @@
4444
}
4545
},
4646
"devDependencies": {
47-
"husky": "^3.0.4",
47+
"husky": "^3.0.9",
4848
"prettier": "^1.18.2"
4949
},
5050
"prettier": {

themes/Icarus/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ navbar:
2626
活动: /activity
2727
相册: http://cdfcc.lofter.com/
2828
博文: /categories
29-
大会: https://web-conf.tk/
29+
大会: https://web-conf.dev/
3030
社群: /community
3131
关于: /categories/Profile/
3232
# Navigation bar links to be shown on the right

themes/Icarus/layout/widget/gallery.ejs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<div class="justified-gallery"><%
22
posts.forEach(({photos, path, title}) => {
33
4-
if (! photos[0]) return;
5-
64
for (let file of photos) { %>
75
<a class="gallery-item" href="<%= url_for(path + file) %>">
86
<img src="<%= url_for(path + file) %>" alt="<%= title %>">

0 commit comments

Comments
 (0)