@vuepress/client 2.0.0-beta.59 → 2.0.0-beta.60

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/dist/app.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  usePageLang,
18
18
  usePageLayout,
19
19
  withBase
20
- } from "./chunk-2OYZ7FSR.js";
20
+ } from "./chunk-E44UNXTX.js";
21
21
 
22
22
  // src/app.ts
23
23
  import { clientConfigs } from "@internal/clientConfigs";
@@ -193,7 +193,7 @@ var resolvers = reactive({
193
193
  ];
194
194
  return dedupeHead(head);
195
195
  },
196
- resolvePageHeadTitle: (page, siteLocale) => `${page.title ? `${page.title}` : ``}${siteLocale.title ? ` | ${siteLocale.title}` : ``}`,
196
+ resolvePageHeadTitle: (page, siteLocale) => [page.title, siteLocale.title].filter((item) => !!item).join(" | "),
197
197
  resolvePageLang: (page) => page.lang || "en",
198
198
  resolvePageLayout: (page, layouts) => {
199
199
  let layoutName;
package/dist/index.js CHANGED
@@ -29,7 +29,7 @@ import {
29
29
  useSiteLocaleData,
30
30
  useUpdateHead,
31
31
  withBase
32
- } from "./chunk-2OYZ7FSR.js";
32
+ } from "./chunk-E44UNXTX.js";
33
33
  export {
34
34
  ClientOnly,
35
35
  Content,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/client",
3
- "version": "2.0.0-beta.59",
3
+ "version": "2.0.0-beta.60",
4
4
  "description": "Client package of VuePress",
5
5
  "keywords": [
6
6
  "vuepress",
@@ -36,7 +36,7 @@
36
36
  "@vue/devtools-api": "^6.4.5",
37
37
  "vue": "^3.2.45",
38
38
  "vue-router": "^4.1.6",
39
- "@vuepress/shared": "2.0.0-beta.59"
39
+ "@vuepress/shared": "2.0.0-beta.60"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"