Skip to content

Commit

Permalink
chore: rename 'seoTitle' to 'metaTitle'
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Nov 7, 2018
1 parent 9fb5820 commit 85239bb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/@vuepress/core/lib/prepare/ClientComputedMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ module.exports = siteData => {

get $title () {
const page = this.$page
const { seoTitle } = this.$page.frontmatter
if (typeof seoTitle === 'string') {
return seoTitle
const { metaTitle } = this.$page.frontmatter
if (typeof metaTitle === 'string') {
return metaTitle
}

const siteTitle = this.$siteTitle
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/docs/theme/option-api.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
seoTitle: Option API | Theme
metaTitle: Option API | Theme
---

# Option API
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/docs/zh/plugin/option-api.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
seoTitle: Option API | Plugin
metaTitle: Option API | Plugin
---

# Option API
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/docs/zh/theme/option-api.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
seoTitle: Option API | Theme
metaTitle: Option API | Theme
---

# Option API
Expand Down

0 comments on commit 85239bb

Please sign in to comment.