Skip to content

Commit 961cf2d

Browse files
committed
feat: support override description meta with yaml front matter
1 parent c5a2079 commit 961cf2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/default-theme/Layout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default {
7777
if (this.$ssrContext) {
7878
this.$ssrContext.title = getTitle(this.$title, this.$page)
7979
this.$ssrContext.lang = this.$lang
80-
this.$ssrContext.description = this.$description
80+
this.$ssrContext.description = this.$page.description || this.$description
8181
}
8282
8383
},

0 commit comments

Comments
 (0)