hexo-theme-particlex 2.7.5 → 2.7.6

Sign up to get free protection for your applications and to get access to all the features.
package/layout/import.ejs CHANGED
@@ -1,6 +1,6 @@
1
1
  <link rel="preconnect" href="https://cdn.staticfile.org" />
2
- <script src="https://cdn.staticfile.org/vue/3.3.4/vue.global.prod.min.js"></script>
3
- <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" />
2
+ <script src="https://cdn.staticfile.org/vue/3.3.7/vue.global.prod.min.js"></script>
3
+ <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.2/css/all.min.css" />
4
4
  <link rel="preconnect" href="https://fonts.loli.net" />
5
5
  <link rel="preconnect" href="https://gstatic.loli.net" crossorigin />
6
6
  <link rel="stylesheet" href="https://fonts.loli.net/css2?family=Fira+Code:wght@400;500;600;700&family=Lexend:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap" />
@@ -9,25 +9,25 @@
9
9
  <script src="https://polyfill.io/v3/polyfill.min.js?features=<%- theme.polyfill.features %>"></script>
10
10
  <% } %>
11
11
  <% if (theme.highlight.enable) { %>
12
- <script src="https://cdn.staticfile.org/highlight.js/11.8.0/highlight.min.js"></script>
12
+ <script src="https://cdn.staticfile.org/highlight.js/11.9.0/highlight.min.js"></script>
13
13
  <script src="https://cdn.staticfile.org/highlightjs-line-numbers.js/2.8.0/highlightjs-line-numbers.min.js"></script>
14
14
  <link
15
15
  rel="stylesheet"
16
- href="https://cdn.staticfile.org/highlight.js/11.8.0/styles/<%- theme.highlight.style %>.min.css"
16
+ href="https://cdn.staticfile.org/highlight.js/11.9.0/styles/<%- theme.highlight.style %>.min.css"
17
17
  />
18
18
  <script src="<%- url_for("/js/lib/highlight.js") %>"></script>
19
19
  <% } %>
20
20
  <% if (theme.math.enable) { %>
21
- <script src="https://cdn.staticfile.org/KaTeX/0.16.8/katex.min.js"></script>
22
- <script src="https://cdn.staticfile.org/KaTeX/0.16.8/contrib/auto-render.min.js"></script>
23
- <link rel="stylesheet" href="https://cdn.staticfile.org/KaTeX/0.16.8/katex.min.css" />
21
+ <script src="https://cdn.staticfile.org/KaTeX/0.16.9/katex.min.js"></script>
22
+ <script src="https://cdn.staticfile.org/KaTeX/0.16.9/contrib/auto-render.min.js"></script>
23
+ <link rel="stylesheet" href="https://cdn.staticfile.org/KaTeX/0.16.9/katex.min.css" />
24
24
  <script src="<%- url_for("/js/lib/math.js") %>"></script>
25
25
  <% } %>
26
26
  <% if (theme.preview.enable) { %>
27
27
  <script src="<%- url_for("/js/lib/preview.js") %>"></script>
28
28
  <% } %>
29
29
  <% if (theme.crypto.enable && typeof page.secret !== "undefined") { %>
30
- <script src="https://cdn.staticfile.org/crypto-js/4.1.1/crypto-js.min.js"></script>
30
+ <script src="https://cdn.staticfile.org/crypto-js/4.2.0/crypto-js.min.js"></script>
31
31
  <script src="<%- url_for("/js/lib/crypto.js") %>"></script>
32
32
  <% } %>
33
33
  <% if (type === "archives" && theme.search.enable) { %>
@@ -39,12 +39,12 @@
39
39
  <link rel="stylesheet" href="https://cdn.staticfile.org/gitalk/1.8.0/gitalk.min.css" />
40
40
  <% } %>
41
41
  <% if (theme.waline.enable) { %>
42
- <script src="https://cdn.staticfile.org/waline/2.15.5/waline.min.js"></script>
43
- <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.15.5/waline.min.css" />
44
- <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.15.5/waline-meta.min.css" />
42
+ <script src="https://cdn.staticfile.org/waline/2.15.8/waline.min.js"></script>
43
+ <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.15.8/waline.min.css" />
44
+ <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.15.8/waline-meta.min.css" />
45
45
  <% } %>
46
46
  <% if (theme.twikoo.enable) { %>
47
- <script src="https://cdn.staticfile.org/twikoo/1.6.16/twikoo.all.min.js"></script>
47
+ <script src="https://cdn.staticfile.org/twikoo/1.6.22/twikoo.all.min.js"></script>
48
48
  <% } %>
49
49
  <% } %>
50
50
  <% if (type === "index") { %>
package/layout/layout.ejs CHANGED
@@ -1,11 +1,11 @@
1
1
  <%
2
- let type;
2
+ let type = "post";
3
3
  if (is_home()) type = "index";
4
4
  if (is_post() || is_page()) type = "post";
5
5
  if (is_category() || page.type === "categories") type = "categories";
6
6
  if (is_tag() || page.type === "tags") type = "tags";
7
7
  if (is_archive()) type = "archives";
8
- let title;
8
+ let title = page.title + " | " + config.title;
9
9
  if (is_home()) title = config.title;
10
10
  if (is_post() || is_page()) title = page.title + " | " + config.title;
11
11
  if (is_category()) title = "Categories: " + page.category + " | " + config.title;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-particlex",
3
- "version": "2.7.5",
3
+ "version": "2.7.6",
4
4
  "description": "A concise Hexo theme, based on Particle.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "homepage": "https://github.com/theme-particlex/hexo-theme-particlex#readme",
23
23
  "dependencies": {
24
- "hexo-helper-crypto": "^1.1.4",
24
+ "hexo-helper-crypto": "^1.1.5",
25
25
  "hexo-renderer-ejs": "^2.0.0"
26
26
  },
27
27
  "scripts": {