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

feat: add default document title and meta description #556

Merged
merged 2 commits into from
Nov 11, 2019

Conversation

0xinhua
Copy link
Contributor

@0xinhua 0xinhua commented Nov 7, 2019

Summary

Closes #555

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Build-related changes
  • Other, please describe:

If changing the UI/CSS related code, please provide the before/after screenshot:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

@netlify
Copy link

netlify bot commented Nov 7, 2019

Deploy preview for saber ready!

Built with commit f545e29

https://deploy-preview-556--saber.netlify.com

name: 'description',
content: `${this.$siteConfig.description || 'A framework for building modern static websites'}`
}
]
Copy link
Collaborator

@egoist egoist Nov 7, 2019

Choose a reason for hiding this comment

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

I guess we don't need to set a default title and description. They're irrelevant to user's project.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess we don't need to set a default title and description. They're irrelevant to user's project.

Sorry for the delay, I will add conditional statements, check it again. :)

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.

Setting default document title and meta description
2 participants