From c3869e4f2dd051065dcd7efb774d0d2489145b40 Mon Sep 17 00:00:00 2001 From: Abdelrahman Aly Abounegm Date: Tue, 1 Sep 2020 22:27:41 +0300 Subject: [PATCH] Add default layout that doesn't override the head --- docs/rollup.config.js | 1 + docs/src/mdsvex/layout-no-head.svelte | 29 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 docs/src/mdsvex/layout-no-head.svelte diff --git a/docs/rollup.config.js b/docs/rollup.config.js index 69dc196b3..09ec77720 100644 --- a/docs/rollup.config.js +++ b/docs/rollup.config.js @@ -38,6 +38,7 @@ const preprocess = [ mdsvex({ layout: { docs: './src/mdsvex/layout.svelte', + _: './src/mdsvex/layout-no-head.svelte', }, smartypants: { quotes: false, diff --git a/docs/src/mdsvex/layout-no-head.svelte b/docs/src/mdsvex/layout-no-head.svelte new file mode 100644 index 000000000..551e6a6b2 --- /dev/null +++ b/docs/src/mdsvex/layout-no-head.svelte @@ -0,0 +1,29 @@ + + +