hexo-theme-shokax 0.5.0-dev-0e1579b → 0.5.0-dev-f787465
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_config.yml +0 -12
- package/layout/_partials/head/head.pug +0 -12
- package/layout/page.pug +4 -0
- package/layout/post.pug +4 -0
- package/package.json +1 -1
package/_config.yml
CHANGED
@@ -346,18 +346,6 @@ search:
|
|
346
346
|
# Dependencies: https://github.com/amehime/hexo-renderer-multi-markdown-it
|
347
347
|
pangu: false
|
348
348
|
|
349
|
-
# Quicklink Support
|
350
|
-
# For more information: https://github.com/GoogleChromeLabs/quicklink
|
351
|
-
quicklink:
|
352
|
-
# Custom a time in milliseconds by which the browser must execute prefetching.
|
353
|
-
timeout: 3000
|
354
|
-
# Default (true) will attempt to use the fetch() API if supported (rather than link[rel=prefetch]).
|
355
|
-
priority: true
|
356
|
-
|
357
|
-
# For more flexibility you can add some patterns (RegExp, Function, or Array) to ignores.
|
358
|
-
# See: https://github.com/GoogleChromeLabs/quicklink#custom-ignore-patterns
|
359
|
-
ignores:
|
360
|
-
|
361
349
|
#! ---------------------------------------------------------------
|
362
350
|
#! DO NOT EDIT THE FOLLOWING `vendors` SETTINGS
|
363
351
|
#! UNLESS YOU KNOW WHAT YOU ARE DOING
|
@@ -44,19 +44,7 @@ if fontConfig
|
|
44
44
|
!= preloadjs()
|
45
45
|
!= load_async_css()
|
46
46
|
|
47
|
-
// 临时处理
|
48
|
-
link(rel="stylesheet" media="none" onload="this.media='all'" href="https://s4.zstatic.net/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css")
|
49
|
-
link(rel="stylesheet" media="none" onload="this.media='all'" href="https://s4.zstatic.net/ajax/libs/justifiedGallery/3.8.1/css/justifiedGallery.min.css")
|
50
|
-
link(rel="stylesheet" media="none" onload="this.media='all'" href="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/katex.min.css")
|
51
|
-
//link(rel="stylesheet" media="none" onload="this.media='all'" href="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/katex.min.css")
|
52
47
|
if theme.experiments.cloudflarePatch
|
53
48
|
!= _js('cf-patch.js')
|
54
49
|
|
55
50
|
include pwa.pug
|
56
|
-
|
57
|
-
- var qw = theme?.qweather?.enable
|
58
|
-
if qw
|
59
|
-
style.
|
60
|
-
img[data-v-7d48daab] {
|
61
|
-
max-width: 2em !important;
|
62
|
-
}
|
package/layout/page.pug
CHANGED
@@ -4,6 +4,10 @@ include _mixin/comment.pug
|
|
4
4
|
|
5
5
|
block head
|
6
6
|
!= _css('post.css')
|
7
|
+
// 临时处理
|
8
|
+
link(rel="stylesheet" media="none" onload="this.media='all'" href="https://s4.zstatic.net/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css")
|
9
|
+
link(rel="stylesheet" media="none" onload="this.media='all'" href="https://s4.zstatic.net/ajax/libs/justifiedGallery/3.8.1/css/justifiedGallery.min.css")
|
10
|
+
link(rel="stylesheet" media="none" onload="this.media='all'" href="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/katex.min.css")
|
7
11
|
|
8
12
|
block title
|
9
13
|
if page.type === 'categories'
|
package/layout/post.pug
CHANGED
@@ -6,6 +6,10 @@ include _mixin/postmeta.pug
|
|
6
6
|
block head
|
7
7
|
!= _css('post.css')
|
8
8
|
!= _css('mermaid.css')
|
9
|
+
// 临时处理
|
10
|
+
link(rel="stylesheet" media="none" onload="this.media='all'" href="https://s4.zstatic.net/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css")
|
11
|
+
link(rel="stylesheet" media="none" onload="this.media='all'" href="https://s4.zstatic.net/ajax/libs/justifiedGallery/3.8.1/css/justifiedGallery.min.css")
|
12
|
+
link(rel="stylesheet" media="none" onload="this.media='all'" href="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/katex.min.css")
|
9
13
|
|
10
14
|
block title
|
11
15
|
- var page_title = page.title
|
package/package.json
CHANGED