valaxy-theme-yun 1.3.2 → 1.3.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.
- package/layouts/post.vue +2 -0
- package/package.json +2 -2
package/layouts/post.vue
CHANGED
|
@@ -17,6 +17,7 @@ const route = useRoute()
|
|
|
17
17
|
|
|
18
18
|
const { $t, $tO } = useValaxyI18n()
|
|
19
19
|
const authorLink = siteConfig.value.author.link?.trim()
|
|
20
|
+
const authorEmail = siteConfig.value.author.email?.trim()
|
|
20
21
|
const description = $tO(frontmatter.value.description) || route.meta.seoDescription || ''
|
|
21
22
|
const { image } = usePageSeo()
|
|
22
23
|
const pagePath = resolveCanonicalPath(route)
|
|
@@ -31,6 +32,7 @@ const article: Parameters<typeof defineArticle>[0] = {
|
|
|
31
32
|
{
|
|
32
33
|
name: $t(siteConfig.value.author.name),
|
|
33
34
|
...(authorLink ? { url: authorLink } : {}),
|
|
35
|
+
...(authorEmail ? { email: authorEmail } : {}),
|
|
34
36
|
},
|
|
35
37
|
],
|
|
36
38
|
'datePublished': dayjs(frontmatter.value.date || '').toDate(),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "valaxy-theme-yun",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.3",
|
|
5
5
|
"description": "Default theme (Yun) for Valaxy — a Vite & Vue powered static blog generator",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "me@yunyoujun.cn",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"valaxy-addon-girls": "0.1.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"valaxy": "1.3.
|
|
44
|
+
"valaxy": "1.3.3",
|
|
45
45
|
"valaxy-addon-waline": "0.2.1"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|