valaxy 0.25.2 → 0.25.3

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.
@@ -26,7 +26,7 @@ export function useValaxyApp() {
26
26
  // seo
27
27
  // todo: get first image url from markdown
28
28
  const siteUrl = computed(() => fm.value.url || siteConfig.value.url)
29
- const description = computed(() => $tO(fm.value.excerpt) || $tO(fm.value.description) || $tO(siteConfig.value.description))
29
+ const description = computed(() => $tO(fm.value.excerpt) || $tO(fm.value.description) || $t(siteConfig.value.description))
30
30
 
31
31
  useSeoMeta({
32
32
  description,
@@ -47,7 +47,7 @@ export function useValaxyApp() {
47
47
  definePerson({
48
48
  name: $t(siteConfig.value.author.name),
49
49
  url: siteUrl.value,
50
- image: siteConfig.value.author.avatar,
50
+ image: $t(siteConfig.value.author.avatar),
51
51
  sameAs: siteConfig.value.social.map(s => s.link),
52
52
  }),
53
53
  defineWebSite({
@@ -16,7 +16,7 @@ export function useValaxyHead() {
16
16
  title: $title,
17
17
  titleTemplate: (title) => {
18
18
  const siteTitle = $t(siteConfig.value.title)
19
- return fm.value.titleTemplate || (title ? `${title} - ${siteTitle}` : siteTitle)
19
+ return $tO(fm.value.titleTemplate) || (title ? `${title} - ${siteTitle}` : siteTitle)
20
20
  },
21
21
  link: [
22
22
  {
@@ -29,7 +29,7 @@ export function useValaxyHead() {
29
29
  computed(() => {
30
30
  return {
31
31
  name: 'description',
32
- content: fm.value.description || siteConfig.value.description,
32
+ content: $tO(fm.value.description) || $t(siteConfig.value.description),
33
33
  }
34
34
  }),
35
35
  {
@@ -4,7 +4,7 @@ import yargs from "yargs";
4
4
  import { hideBin } from "yargs/helpers";
5
5
 
6
6
  // package.json
7
- var version = "0.25.2";
7
+ var version = "0.25.3";
8
8
 
9
9
  // node/modules/fuse.ts
10
10
  import path4 from "path";
@@ -3,7 +3,7 @@ import {
3
3
  registerDevCommand,
4
4
  run,
5
5
  startValaxyDev
6
- } from "../../chunk-FOH2JIW7.js";
6
+ } from "../../chunk-V3FAZBPQ.js";
7
7
  export {
8
8
  cli,
9
9
  registerDevCommand,
@@ -50,7 +50,7 @@ import {
50
50
  startValaxyDev,
51
51
  toAtFS,
52
52
  transformObject
53
- } from "../chunk-FOH2JIW7.js";
53
+ } from "../chunk-V3FAZBPQ.js";
54
54
  export {
55
55
  $t,
56
56
  ALL_ROUTE,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "valaxy",
3
3
  "type": "module",
4
- "version": "0.25.2",
4
+ "version": "0.25.3",
5
5
  "description": "📄 Vite & Vue powered static blog generator.",
6
6
  "author": {
7
7
  "email": "me@yunyoujun.cn",
@@ -132,8 +132,8 @@
132
132
  "vue-i18n": "^11.1.9",
133
133
  "vue-router": "^4.5.1",
134
134
  "yargs": "^18.0.0",
135
- "@valaxyjs/devtools": "0.25.2",
136
- "@valaxyjs/utils": "0.25.2"
135
+ "@valaxyjs/devtools": "0.25.3",
136
+ "@valaxyjs/utils": "0.25.3"
137
137
  },
138
138
  "devDependencies": {
139
139
  "@mdit-vue/plugin-component": "^2.1.4",