hexo-theme-shokax 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- package/_config.yml +1 -3
- package/layout/_partials/post/footer.pug +10 -0
- package/package.json +1 -1
package/_config.yml
CHANGED
@@ -21,6 +21,7 @@ pwa:
|
|
21
21
|
|
22
22
|
# 实验性特性
|
23
23
|
experiments:
|
24
|
+
noIE: true # 阻止IE浏览器访问(ShokaX不支持IE的任何版本)
|
24
25
|
noPlayer: false # 禁用音乐播放器
|
25
26
|
gradient: false # 使用CSS渐变作为文章封面
|
26
27
|
fixedCover: "" # 主页面cover(为空则使用bing随机图片)
|
@@ -404,6 +405,3 @@ vendors:
|
|
404
405
|
copy_tex: npm/katex@0.12.0/dist/contrib/copy-tex.min.js # ok
|
405
406
|
chart: npm/frappe-charts@1.5.0/dist/frappe-charts.min.iife.min.js # ok
|
406
407
|
|
407
|
-
qweather:
|
408
|
-
enable: false
|
409
|
-
key: "114514"
|
@@ -11,4 +11,14 @@ div(class="meta")
|
|
11
11
|
!= __('post.edited')
|
12
12
|
time(title=__('post.modified') + __('symbol.colon') + full_date(post.updated) itemprop="dateModified" datetime=moment(post.updated).format())
|
13
13
|
!= date(post.updated)
|
14
|
+
if theme.waline.pageview && !theme.waline.enable
|
15
|
+
script(type = "module" data-pjax).
|
16
|
+
import { pageviewCount } from 'https://unpkg.com/@waline/client/dist/pageview.mjs';
|
17
|
+
|
18
|
+
const path = document.getElementById("twikoo_visitors").getAttribute("data-path");
|
19
|
+
pageviewCount({
|
20
|
+
serverURL: '#{theme.waline.serverURL}',
|
21
|
+
path: path,
|
22
|
+
});
|
23
|
+
|
14
24
|
!= shokax_inject('postMeta')
|