hexo-theme-clarity 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Clarity
|
|
2
2
|
|
|
3
|
-
[](https://github.com/guozhenyi/hexo-theme-clarity/blob/main/LICENSE)
|
|
3
|
+
[](https://github.com/guozhenyi/hexo-theme-clarity/blob/main/LICENSE) [](https://www.npmjs.com/package/hexo-theme-clarity)
|
|
4
|
+
|
|
4
5
|
|
|
5
6
|
[预览](https://www.guozhenyi.com)|[English Document](./README-en.md)
|
|
6
7
|
|
package/_config.yml
CHANGED
package/layout/post.pug
CHANGED
|
@@ -8,8 +8,12 @@ block content
|
|
|
8
8
|
h1.post-title= page.title
|
|
9
9
|
.post-meta
|
|
10
10
|
i.fa.fa-calendar.mr-4
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
if theme.post_meta.post_date == 'updated'
|
|
12
|
+
span.post-meta-label= '更新于'
|
|
13
|
+
time.post-meta-modified= page.updated.format(config.date_format)
|
|
14
|
+
else
|
|
15
|
+
span.post-meta-label= '发表于'
|
|
16
|
+
time.post-meta-published= page.date.format(config.date_format)
|
|
13
17
|
if page.categories.length > 0
|
|
14
18
|
span.post-meta-separator= '|'
|
|
15
19
|
span.category
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hexo-theme-clarity",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"description": "Hexo Theme Clarity",
|
|
5
6
|
"repository": "guozhenyi/hexo-theme-clarity",
|
|
6
7
|
"keywords": [
|
|
@@ -11,6 +12,5 @@
|
|
|
11
12
|
"peerDependencies": {
|
|
12
13
|
"hexo-renderer-pug": "^3.0.0",
|
|
13
14
|
"hexo-renderer-sass-next": "^0.1.3"
|
|
14
|
-
}
|
|
15
|
-
"license": "MIT"
|
|
15
|
+
}
|
|
16
16
|
}
|
|
File without changes
|
|
File without changes
|