hexo-theme-particlex 2.5.2 → 2.5.5
Sign up to get free protection for your applications and to get access to all the features.
package/layout/archives.ejs
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
<% } %>
|
9
9
|
<div id="timeline-wrap" ref="timeline">
|
10
10
|
<% posts.reverse().forEach((post, id) => { %>
|
11
|
-
<div class="timeline" data-title="<%- post.title.toLowerCase().replace(/\s+/
|
11
|
+
<div class="timeline" data-title="<%- post.title.toLowerCase().replace(/\s+/g, "") %>">
|
12
12
|
<div class="timeline-tail"></div>
|
13
13
|
<div class="timeline-content">
|
14
14
|
<div class="item-time"><%= date(post.date, "YYYY/M/D") %></div>
|
package/layout/import.ejs
CHANGED
@@ -43,7 +43,7 @@
|
|
43
43
|
<script src="https://cdn.staticfile.org/twikoo/1.6.8/twikoo.all.min.js"></script>
|
44
44
|
<% } %>
|
45
45
|
<% } %>
|
46
|
-
<% if (type === "index") %>
|
46
|
+
<% if (type === "index") { %>
|
47
47
|
<script src="<%- url_for("/js/lib/home.js") %>"></script>
|
48
|
-
<%
|
48
|
+
<% } %>
|
49
49
|
<link rel="stylesheet" href="<%- url_for("/css/main.css") %>" />
|
package/package.json
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
mixins.highlight = {
|
2
2
|
data() {
|
3
|
-
return { copying: false
|
3
|
+
return { copying: false };
|
4
4
|
},
|
5
5
|
created() {
|
6
6
|
hljs.configure({ ignoreUnescapedHTML: true });
|
7
|
+
this.renderers.push(this.highlight);
|
7
8
|
},
|
8
9
|
methods: {
|
9
10
|
highlight() {
|
package/source/js/lib/math.js
CHANGED
package/source/js/lib/preview.js
CHANGED
package/source/js/lib/search.js
CHANGED
package/source/js/main.js
CHANGED