Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prioritize frontmatter's title, description and lang (close: #177) #180

Merged
merged 2 commits into from
Apr 20, 2018
Merged

fix: prioritize frontmatter's title, description and lang (close: #177) #180

merged 2 commits into from
Apr 20, 2018

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