hexo-theme-particlex 2.5.4 → 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/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