Skip to content

Conversation

ulivz
Copy link
Member

@ulivz ulivz commented Apr 20, 2018

Fixed #177

},
$description () {
return this.$localeConfig.description || this.$site.description || ''
return this.$page.frontmatter.title || this.$localeConfig.description || this.$site.description || ''
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be this.$page.frontmatter.description?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, typo. thanks, fixed at 89b8386

@ulivz ulivz changed the title fix: prioritize frontmatter's title and lang (close: #177) fix: prioritize frontmatter's title, description and lang (close: #177) Apr 20, 2018
@yyx990803 yyx990803 merged commit 384c5c7 into vuejs:master Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants