hexo-theme-linen 1.0.12 → 1.0.14
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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A clean Hexo theme focused on readability, UX, and minimal configuration.
|
|
4
4
|
|
|
5
|
-

|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
@@ -39,7 +39,9 @@ hexo clean && hexo serve
|
|
|
39
39
|
|
|
40
40
|
Full documentation and examples:
|
|
41
41
|
|
|
42
|
-
https://lynanbreeze.github.io/hexo-theme-linen-doc
|
|
42
|
+
EN: https://lynanbreeze.github.io/hexo-theme-linen-doc/
|
|
43
|
+
|
|
44
|
+
简体中文: https://lynanbreeze.github.io/hexo-theme-linen-doc-zh-CN/
|
|
43
45
|
|
|
44
46
|
## License
|
|
45
47
|
|
|
@@ -19,6 +19,6 @@ const series = Array.from(new Set(site.posts.filter(item=>item.series).sort('dat
|
|
|
19
19
|
<a href="<%=url_for('/archives/#tags')%>" target="_self"><%=site.tags.length%> <%=__('common.tags')%></a>
|
|
20
20
|
<% if (series.length) { %>
|
|
21
21
|
<span class="divider">/</span>
|
|
22
|
-
<a href="
|
|
22
|
+
<a href="<%=url_for('/archives/#series')%>" target="_self"><%=series.length%> <%=__('common.series')%></a><% } %>
|
|
23
23
|
</div>
|
|
24
24
|
</div>
|
package/package.json
CHANGED
|
@@ -623,6 +623,23 @@ body {
|
|
|
623
623
|
display: none;
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
+
&:has(> span.break-on-mobile) {
|
|
627
|
+
&::after {
|
|
628
|
+
display: none;
|
|
629
|
+
}
|
|
630
|
+
.break-on-mobile {
|
|
631
|
+
&::after {
|
|
632
|
+
content: "";
|
|
633
|
+
display: inline-block;
|
|
634
|
+
width: 1em;
|
|
635
|
+
height: 1em;
|
|
636
|
+
background-image: url("/img/icons/redirect.svg");
|
|
637
|
+
background-size: cover;
|
|
638
|
+
vertical-align: middle;
|
|
639
|
+
margin-bottom: 0.25em;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
}
|
|
626
643
|
}
|
|
627
644
|
|
|
628
645
|
hr {
|