Skip to content

Commit bc8bcb9

Browse files
committed
fix(vite): append full meta
1 parent e8d706e commit bc8bcb9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/vite/src/vitepress.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ export function installSchemaOrg(ctx: EnhanceAppContext, meta: MetaInput) {
1515
const client = createSchemaOrg({
1616
meta() {
1717
return {
18+
path: ctx.router.route.path,
1819
...ctx.siteData.value,
20+
...ctx.router.route.data,
21+
...ctx.router.route.data.frontmatter,
1922
...meta,
2023
}
2124
},

0 commit comments

Comments
 (0)