Skip to content

Commit 85239bb

Browse files
committed
chore: rename 'seoTitle' to 'metaTitle'
1 parent 9fb5820 commit 85239bb

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Diff for: packages/@vuepress/core/lib/prepare/ClientComputedMixin.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ module.exports = siteData => {
6363

6464
get $title () {
6565
const page = this.$page
66-
const { seoTitle } = this.$page.frontmatter
67-
if (typeof seoTitle === 'string') {
68-
return seoTitle
66+
const { metaTitle } = this.$page.frontmatter
67+
if (typeof metaTitle === 'string') {
68+
return metaTitle
6969
}
7070

7171
const siteTitle = this.$siteTitle

Diff for: packages/docs/docs/theme/option-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
seoTitle: Option API | Theme
2+
metaTitle: Option API | Theme
33
---
44

55
# Option API

Diff for: packages/docs/docs/zh/plugin/option-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
seoTitle: Option API | Plugin
2+
metaTitle: Option API | Plugin
33
---
44

55
# Option API

Diff for: packages/docs/docs/zh/theme/option-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
seoTitle: Option API | Theme
2+
metaTitle: Option API | Theme
33
---
44

55
# Option API

0 commit comments

Comments
 (0)