Skip to content

Commit cd09d91

Browse files
petrjoachimQingWei-Li
authored andcommitted
frontmatter: Move frontmatter content into vm.frontmatter (#551)
1 parent a5f333a commit cd09d91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/plugins/front-matter/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const install = function (hook, vm) {
44
hook.beforeEach(content => {
55
const {attributes, body} = parser(content)
66

7-
Docsify.util.merge(vm.config, attributes.config)
7+
vm.frontmatter = attributes
88

99
return body
1010
})

0 commit comments

Comments
 (0)