From 7097a330212b55007d0045218d43c16f3f11f24d Mon Sep 17 00:00:00 2001 From: XPoet Date: Tue, 10 Jan 2023 17:34:27 +0800 Subject: [PATCH 1/6] chore: update license in package.json --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 50ecffa..b2cab6a 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,10 @@ "private": false, "description": "A simple and elegant theme for Hexo.", "scripts": { - "npm:publish": "npm publish", "format": "prettier --write ./source/js/*.js ./scripts", "lint:style": "stylelint --fix ./source/css", "git:push": "git push --tag && git push -u origin dev", - "git:add": "npm run lint:style && git add ." + "git:add": "npm run format && npm run lint:style && git add ." }, "repository": { "type": "git", @@ -24,7 +23,7 @@ "powerful" ], "author": "XPoet", - "license": "GPL-3.0", + "license": "AGPL-3.0", "bugs": { "url": "https://github.com/XPoet/hexo-theme-keep/issues" }, From 6e366f04960a312f9f6ced35725dd955433273a5 Mon Sep 17 00:00:00 2001 From: XPoet Date: Tue, 10 Jan 2023 17:42:57 +0800 Subject: [PATCH 2/6] docs: update documents --- README.md | 10 ++++++---- docs/README_zh-CN.md | 10 ++++++---- docs/README_zh-TW.md | 10 ++++++---- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 1b768c7..303be46 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@
Language: - English - 简中 - 繁中 + English | + 简体中文 | + 繁體中文
Keep @@ -103,5 +103,7 @@ This project exists thanks to all the people who contribute. ## :memo: License -[GPL-3.0](https://github.com/XPoet/hexo-theme-keep/blob/master/LICENSE) Copyright © 2020-present XPoet +[AGPL-3.0](https://github.com/XPoet/hexo-theme-keep/blob/master/LICENSE) + +Copyright © 2020-present XPoet diff --git a/docs/README_zh-CN.md b/docs/README_zh-CN.md index 94b780b..be9c05f 100644 --- a/docs/README_zh-CN.md +++ b/docs/README_zh-CN.md @@ -1,8 +1,8 @@
语言: - 简中 - English - 繁中 + 简体中文 | + English | + 繁體中文
Keep @@ -102,4 +102,6 @@ $ git pull ## :memo: 许可 -[GPL-3.0](https://github.com/XPoet/hexo-theme-keep/blob/master/LICENSE) Copyright © 2020-present XPoet +[AGPL-3.0](https://github.com/XPoet/hexo-theme-keep/blob/master/LICENSE) + +Copyright © 2020-present XPoet diff --git a/docs/README_zh-TW.md b/docs/README_zh-TW.md index e58bc36..01278e3 100644 --- a/docs/README_zh-TW.md +++ b/docs/README_zh-TW.md @@ -1,8 +1,8 @@
語言: - 繁中 - English - 简中 + 繁體中文 | + English | + 简体中文
Keep @@ -103,4 +103,6 @@ $ git pull ## :memo: 許可 -[GPL-3.0](https://github.com/XPoet/hexo-theme-keep/blob/master/LICENSE) Copyright © 2020-present XPoet +[AGPL-3.0](https://github.com/XPoet/hexo-theme-keep/blob/master/LICENSE) + +Copyright © 2020-present XPoet From a02282db692cd477eaaea951038349d27c159476 Mon Sep 17 00:00:00 2001 From: XPoet Date: Fri, 13 Jan 2023 10:19:04 +0800 Subject: [PATCH 3/6] style(home): rename post update date --- layout/_partial/home-article-meta-info.ejs | 7 ++----- source/js/utils.js | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/layout/_partial/home-article-meta-info.ejs b/layout/_partial/home-article-meta-info.ejs index fe3b8b6..74295d6 100644 --- a/layout/_partial/home-article-meta-info.ejs +++ b/layout/_partial/home-article-meta-info.ejs @@ -1,12 +1,9 @@ -<% -const target_date = post.date !== post.updated ? post.updated : post.date -%>