From cd09d914343629d24d8e1ea17c09beb215fd93fb Mon Sep 17 00:00:00 2001 From: Petr Joachim Date: Fri, 29 Jun 2018 15:21:32 +0200 Subject: [PATCH] frontmatter: Move frontmatter content into vm.frontmatter (#551) --- src/plugins/front-matter/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/front-matter/index.js b/src/plugins/front-matter/index.js index fc92103f..cb90ed91 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 })