hexo-theme-solitude 1.7.0 → 1.7.1
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/languages/en.yml +5 -1
- package/languages/zh-CN.yml +4 -0
- package/languages/zh-TW.yml +4 -0
- package/layout/includes/head/config.pug +1 -1
- package/layout/includes/inject/head.pug +1 -1
- package/layout/includes/widgets/post/copyright.pug +5 -5
- package/layout/includes/widgets/post/postMeta.pug +1 -1
- package/package.json +1 -1
- package/source/css/_post/copyright.styl +4 -1
package/languages/en.yml
CHANGED
@@ -48,7 +48,7 @@ home:
|
|
48
48
|
post:
|
49
49
|
reprint: Reprint
|
50
50
|
original: Original
|
51
|
-
|
51
|
+
cc: This article is a ${cc} article, pay attention to the copyright.
|
52
52
|
posted: Posted on
|
53
53
|
updated: Last updated on
|
54
54
|
wordcount: Word count
|
@@ -56,6 +56,10 @@ post:
|
|
56
56
|
ip: The author's IP belongs to
|
57
57
|
pv: PV
|
58
58
|
comment: Comments
|
59
|
+
copyright:
|
60
|
+
reprint: This article is a reproduction or translation, and the copyright belongs to the original author. Please contact the original author for permission to republish this article.
|
61
|
+
original: This piece of writing is an original article, utilizing the
|
62
|
+
original_end: Agreement. For complete reproduction, please acknowledge the source as Courtesy of
|
59
63
|
|
60
64
|
nav:
|
61
65
|
site_name_title: Back to home
|
package/languages/zh-CN.yml
CHANGED
package/languages/zh-TW.yml
CHANGED
@@ -111,7 +111,7 @@ script.
|
|
111
111
|
)(window)
|
112
112
|
|
113
113
|
console.log(
|
114
|
-
"%c Program: Hexo %c Theme: Solitude %c Version: v1.7.
|
114
|
+
"%c Program: Hexo %c Theme: Solitude %c Version: v1.7.1",
|
115
115
|
"border-radius:5px 0 0 5px;padding: 5px 10px;color:white;background:#ff3842;",
|
116
116
|
"padding: 5px 10px;color:white;background:#3e9f50;",
|
117
117
|
"border-radius:0 5px 5px 0;padding: 5px 10px;background:#0084ff;color:white;"
|
@@ -11,17 +11,17 @@
|
|
11
11
|
include ./award
|
12
12
|
if theme.post.rss
|
13
13
|
.reward-link.mode
|
14
|
-
a.reward-link-button(href=url_for(theme.post.rss)
|
14
|
+
a.reward-link-button(href=url_for(theme.post.rss))
|
15
15
|
i.solitude.st-plant-fill
|
16
|
-
|
16
|
+
= _p('footer.rss')
|
17
17
|
if theme.post.default.copyright.enable || page.copyright
|
18
18
|
.post-copyright__notice
|
19
19
|
span.post-copyright-info
|
20
20
|
if page.reprint
|
21
|
-
|
21
|
+
= _p('post.copyright.reprint')
|
22
22
|
else
|
23
|
-
|
23
|
+
= _p('post.copyright.original')
|
24
24
|
a(href=url_for(theme.post.default.copyright.licenurl))
|
25
25
|
| #{theme.post.default.copyright.license}
|
26
|
-
|
26
|
+
= _p('post.copyright.original_end')
|
27
27
|
a(href=url_for("/")) #{config.title}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#post-firstinfo
|
5
5
|
.meta-firstline
|
6
6
|
- var cc = page.reprint ? _p('post.reprint') : _p('post.original')
|
7
|
-
a.post-meta-original(title=_p('post.
|
7
|
+
a.post-meta-original(title=_p('post.cc').replace(/\$\{cc}/, cc))= cc
|
8
8
|
if page.categories.data.length > 0
|
9
9
|
span.post-meta-categories
|
10
10
|
a.post-meta-categories(href=url_for('/' + page.categories.data[0].path))= page.categories.data[0].name
|
package/package.json
CHANGED
@@ -51,15 +51,18 @@
|
|
51
51
|
.post-copyright__notice
|
52
52
|
font-size 12px
|
53
53
|
margin 0.5rem 0
|
54
|
+
display flex
|
55
|
+
justify-content center
|
54
56
|
|
55
57
|
.post-copyright-info
|
56
58
|
padding-left 0
|
57
59
|
color var(--efu-secondtext)
|
58
60
|
overflow hidden
|
59
61
|
display -webkit-box
|
60
|
-
-webkit-line-clamp
|
62
|
+
-webkit-line-clamp 3
|
61
63
|
-webkit-box-orient vertical
|
62
64
|
text-align center
|
65
|
+
max-width 500px
|
63
66
|
|
64
67
|
+maxWidth768()
|
65
68
|
-webkit-line-clamp 2
|