diff --git a/src/plugins/front-matter/index.js b/src/plugins/front-matter/index.js index fc92103fe..cb90ed91f 100644 --- a/src/plugins/front-matter/index.js +++ b/src/plugins/front-matter/index.js @@ -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 })