hexo-theme-shokax 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ mixin CommentRender()
21
21
  script(type="module" data-pjax).
22
22
  import { init } from 'https://unpkg.com/@waline/client@v2/dist/waline.mjs';
23
23
 
24
- var path = document.getElementById("twikoo_visitors").getAttribute("data-path");
24
+ const path = document.getElementById("twikoo_visitors").getAttribute("data-path");
25
25
  setTimeout(function () {
26
26
  init({
27
27
  el: '#wcomments',
@@ -6,7 +6,7 @@ if page.reward !== false
6
6
  p
7
7
  != __('reward.text')
8
8
  div(id="qr")
9
- each name, image in theme.reward.account
9
+ each image, name in theme.reward.account
10
10
  - var builtin = ['wechatpay', 'alipay', 'paypal', 'bitcoin']
11
11
  if builtin.includes(name)
12
12
  - var translation = __('reward.' + name)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-shokax",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "a hexo theme based on shoka",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/zkz098/hexo-theme-shokaX",