hexo-theme-shokax 0.5.0-dev-0e1579b → 0.5.0-dev-f787465

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-shokax",
3
- "version": "0.5.0-dev-0e1579b",
3
+ "version": "0.5.0-dev-f787465",
4
4
  "description": "a hexo theme based on shoka",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/theme-shoka-x/hexo-theme-shokaX",