From 84a3838730c57f0482b545d8476ac0d066fd05b9 Mon Sep 17 00:00:00 2001 From: Petr Joachim Date: Tue, 26 Jun 2018 09:36:30 +0200 Subject: [PATCH] frontmatter: Move frontmatter content into vm.frontmatter --- 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 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 })