valaxy 0.14.32 → 0.14.33

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/client/App.vue CHANGED
@@ -60,13 +60,15 @@ useHead({
60
60
  // seo
61
61
  // todo: get first image url from markdown
62
62
  const siteUrl = computed(() => fm.value.url || siteConfig.value.url)
63
+ const description = computed(() => fm.value.excerpt || fm.value.description || siteConfig.value.description)
64
+
63
65
  useSeoMeta({
64
- description: computed(() => fm.value.excerpt || siteConfig.value.description),
65
- ogDescription: computed(() => fm.value.excerpt || siteConfig.value.description),
66
+ description,
67
+ ogDescription: description,
66
68
  ogLocale: computed(() => fm.value.lang || siteConfig.value.lang),
67
69
  ogSiteName: computed(() => siteConfig.value.title),
68
70
  ogTitle: computed(() => fm.value.title || siteConfig.value.title),
69
- ogImage: computed(() => siteConfig.value.favicon),
71
+ ogImage: computed(() => fm.value.ogImage || fm.value.cover || siteConfig.value.favicon),
70
72
  ogUrl: siteUrl,
71
73
  })
72
74