valaxy 0.14.15 → 0.14.17

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/README.md CHANGED
@@ -4,9 +4,7 @@
4
4
 
5
5
  Read [YunYouJun/valaxy](https://github.com/YunYouJun/valaxy) for more info.
6
6
 
7
- ## Creating customized templates
8
-
9
- Learn how to creating customized templates in [here](./docs/en/creating-templates.md)
7
+ - Docs: [valaxy.site](https://valaxy.site)
10
8
 
11
9
  ## FAQ
12
10
 
@@ -69,7 +69,6 @@ export function useActiveAnchor(
69
69
  const [isActive, hash] = isAnchorActive(i, anchor, nextAnchor)
70
70
 
71
71
  if (isActive) {
72
- history.replaceState(history.state, document.title, hash || ' ')
73
72
  activateLink(hash)
74
73
  return
75
74
  }
@@ -98,9 +98,9 @@ accessibility:
98
98
  # prev_page: Previous page
99
99
  # next_page: Next page
100
100
 
101
- wordcount:
102
- count: Word count in article
103
- count_total: Total words
101
+ statistics:
102
+ word: Word count in article
103
+ word_total: Total words
104
104
  time: Reading time
105
105
  time_total: Total reading time
106
106
 
@@ -97,9 +97,9 @@ accessibility:
97
97
  # prev_page: 上一页
98
98
  # next_page: 下一页
99
99
 
100
- wordcount:
101
- count: 本文字数
102
- count_total: 站点总字数
100
+ statistics:
101
+ word: 本文字数
102
+ word_total: 站点总字数
103
103
  time: 阅读时长
104
104
  time_total: 站点阅读时长
105
105
 
package/client/main.ts CHANGED
@@ -13,9 +13,11 @@ import setupMain from './setup/main'
13
13
  const routes = setupLayouts(__DEV__
14
14
  ? generatedRoutes
15
15
  : generatedRoutes.filter(i =>
16
- i.meta && i.meta.frontmatter && !i.meta.frontmatter.draft && !i.meta.frontmatter.hide,
16
+ i.meta && i.meta.frontmatter && !i.meta.frontmatter.draft,
17
17
  ))
18
18
 
19
+ // not filter hide for ssg
20
+
19
21
  // https://github.com/antfu/vite-ssg
20
22
  export const createApp = ViteSSG(
21
23
  App,