hexo-theme-shokax 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,9 +21,10 @@ mixin item(name, path, parent, dropdown, sublist)
21
21
  - var menuText = __('menu.' + subname).replace('menu.', '')
22
22
  if subname == 'default'
23
23
  - var menuText = __('menu.' + name).replace('menu.', '')
24
- - var menuIcon = '<i class="ic i-' + trimn(path[1]) + '"></i>'
25
- li(class="item")
26
- != _url(itemURL, menuIcon + menuText, {rel: 'section'})
24
+ else
25
+ - var menuIcon = '<i class="ic i-' + trimn(path[1]) + '"></i>'
26
+ li(class="item")
27
+ != _url(itemURL, menuIcon + menuText, {rel: 'section'})
27
28
  else
28
29
  li(class="item")
29
30
  != _url(itemURL, menuIcon + menuText, {rel: 'section'})
@@ -5,7 +5,7 @@ block title
5
5
  != `${page.year}${__('symbol.year')}/${page.month}${__('symbol.month')}`
6
6
  else if is_year()
7
7
  != `${page.year}${__('symbol.year')}`
8
- != `${__('title.archive')}|`
8
+ != `${__('title.archive')}`
9
9
 
10
10
  block header
11
11
  h1(itemprop="name headline")
@@ -1,7 +1,7 @@
1
1
  extends ./_partials/layout.pug
2
2
 
3
3
  block title
4
- != `${__('title.category')}${__('symbol.colon')}${page.category}|`
4
+ != `${__('title.category')}${__('symbol.colon')}${page.category}`
5
5
 
6
6
  block header
7
7
  h1(itemprop="name headline")
package/layout/page.pug CHANGED
@@ -11,7 +11,6 @@ block title
11
11
  != __('title.not_found')
12
12
  else
13
13
  != page.title
14
- != "|"
15
14
 
16
15
  block header
17
16
  h1(itemprop="name headline")
package/layout/post.pug CHANGED
@@ -12,7 +12,7 @@ block title
12
12
  - var cat_list = cat.name + comma + cat_list
13
13
  - var comma = ' - '
14
14
  - var page_title = page.title + ' - ' + cat_list
15
- != `${page_title} |`
15
+ != `${page_title}`
16
16
 
17
17
  block header
18
18
  h1(itemprop="name headline")
package/layout/tag.pug CHANGED
@@ -1,7 +1,7 @@
1
1
  extends ./_partials/layout.pug
2
2
 
3
3
  block title
4
- != `${__('title.tag')}${__('symbol.colon')}${page.tag}|`
4
+ != `${__('title.tag')}${__('symbol.colon')}${page.tag}`
5
5
 
6
6
  block header
7
7
  h1(itemprop="name headline")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-shokax",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "a hexo theme based on shoka",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/zkz098/hexo-theme-shokaX",
@@ -167,7 +167,7 @@ const assetUrl = function (asset, type) {
167
167
  return `https://cdn.jsdelivr.net/${str}`;
168
168
  }
169
169
  if (str.indexOf('npm') > -1) {
170
- return `https://unpkg.com/${str}`;
170
+ return `https://cdn.jsdelivr.net/${str}`;
171
171
  }
172
172
  if (str.indexOf('http') > -1) {
173
173
  return str;