diff --git a/site/_sidebar.md b/site/_sidebar.md index 81a8c6c..5b016ca 100644 --- a/site/_sidebar.md +++ b/site/_sidebar.md @@ -4,4 +4,3 @@ * [Page3](pages/Page3.md) * [Page4](pages/page-4.md) - diff --git a/site/index.html b/site/index.html index 0a1eb32..6cb9022 100644 --- a/site/index.html +++ b/site/index.html @@ -18,20 +18,27 @@ coverpage: true, coverpage: '_coverpage.md', onlyCover: false, - autoFooter: { - name: 'admin', - url: '/admin', - copyYear: '20124', - policy: false, - terms: false, - cookies: false, - customStyle: false, - } + + plugins: [ + + function (hook, vm) { + hook.beforeEach(function (html) { + + // Remove any possible front matter with the delimiters '---' + if (html.startsWith("---")) { + html = html.replace(/---(.|\n)*?---/, ''); + } + + return html + + }); + }, + ], + }; -