frontmatter: Move frontmatter content into vm.frontmatter (#551)
This commit is contained in:
parent
a5f333a329
commit
cd09d91434
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ const install = function (hook, vm) {
|
|||
hook.beforeEach(content => {
|
||||
const {attributes, body} = parser(content)
|
||||
|
||||
Docsify.util.merge(vm.config, attributes.config)
|
||||
vm.frontmatter = attributes
|
||||
|
||||
return body
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue