hexo-theme-particlex 2.3.3 → 2.3.4

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -305,7 +305,7 @@ highlightStyle: github # Highlight style
305
305
  ```yaml
306
306
  twikoo:
307
307
  enable: false
308
- envId:
308
+ envID:
309
309
  region:
310
310
  path: location.pathname
311
311
  lang: zh-CN
package/_config.yml CHANGED
@@ -155,7 +155,7 @@ waline:
155
155
  # https://github.com/imaegoo/twikoo
156
156
  twikoo:
157
157
  enable: false
158
- envId:
158
+ envID:
159
159
  region:
160
160
  path: location.pathname
161
161
  lang: zh-CN
package/layout/script.ejs CHANGED
@@ -57,9 +57,9 @@
57
57
  serverURL: "<%- theme.waline.serverURL %>",
58
58
  commentCount: <%- theme.waline.commentCount %>,
59
59
  pageview: <%- theme.waline.pageview %>,
60
- emoji: "<%- theme.waline.emoji %>".split(","),
61
- meta: "<%- theme.waline.meta %>".split(","),
62
- requiredMeta: "<%- theme.waline.requiredMeta %>".split(","),
60
+ emoji: <%- JSON.stringify(theme.waline.emoji) %>,
61
+ meta: <%- JSON.stringify(theme.waline.meta) %>,
62
+ requiredMeta: <%- JSON.stringify(theme.waline.requiredMeta) %>,
63
63
  lang: "<%- theme.waline.lang %>",
64
64
  wordLimit: <%- theme.waline.wordLimit %>,
65
65
  pageSize: "<%- theme.waline.pageSize %>",
@@ -73,7 +73,7 @@
73
73
  <script>
74
74
  twikoo.init({
75
75
  el: "#twikoo-container",
76
- envId: "<%- theme.twikoo.envId %>",
76
+ envId: "<%- theme.twikoo.envID %>",
77
77
  region: "<%- theme.twikoo.region %>",
78
78
  path: <%- theme.twikoo.path %>,
79
79
  lang: "<%- theme.twikoo.lang %>",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-particlex",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "description": "A concise Hexo theme, based on Particle.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"