Closed
Description
Bug report
Version
VuePress 0.12.0
Steps to reproduce
- Install VuePress
- Create a page and add extra meta data as per:
https://vuepress.vuejs.org/guide/markdown.html#front-matter
---
meta:
- name: description
content: hello
- name: keywords
content: super duper SEO
---
- Run
vuepress dev
orvuepress build
- Check the page's meta tags
Was able to reproduce in fresh repo:
https://github.com/jordonbaade/vuepress-0.12.0-meta-description-bug
What is expected?
A single:
<meta name="description" content="description here">
What is actually happening?
Two description meta elements:
Other relevant information
If you check the build files directly the meta description element is only output once; seems the extra is injected on page view, and not just when using dynamic navigation.
- Your OS: macOS High Sierra v10.13.6
- Node.js version: v9.1.0
- Browser version: v67.0.3396.99
- Is this a global or local install? Global
- Which package manager did you use for the install? Yarn
Metadata
Metadata
Assignees
Labels
No labels