We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45481b9 commit 87894ffCopy full SHA for 87894ff
packages/@vuepress/core/lib/prepare/Page.js
@@ -99,7 +99,7 @@ module.exports = class Page {
99
if (this._filePath.endsWith('.md')) {
100
const { excerpt, data, content } = parseFrontmatter(this._content)
101
this._strippedContent = content
102
- this.frontmatter = data
+ Object.assign(this.frontmatter, data)
103
104
// infer title
105
const title = inferTitle(this.frontmatter, this._strippedContent)
0 commit comments