From 4bd28e72c7670fb8a283f3a35374922213eba176 Mon Sep 17 00:00:00 2001 From: Paul Pacheco Date: Tue, 18 Dec 2018 17:20:55 -0600 Subject: [PATCH] Apply default layout to all pages --- docs/_config.yml | 7 +++++++ docs/docs/A.md | 4 ---- docs/docs/B.md | 4 ---- docs/index.md | 4 ---- 4 files changed, 7 insertions(+), 12 deletions(-) diff --git a/docs/_config.yml b/docs/_config.yml index cbac698fb..7cb356fa0 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -19,6 +19,13 @@ exclude: - bower_components - README.md +defaults: + - + scope: + path: "" # an empty string here means all files in the project + values: + layout: "default" + ##set this to enable disqus commenting disqus: bitwiser diff --git a/docs/docs/A.md b/docs/docs/A.md index 0f6516731..dcd7d53ce 100644 --- a/docs/docs/A.md +++ b/docs/docs/A.md @@ -1,7 +1,3 @@ ---- -layout: default ---- - # Class A This is an example of how to document a class A diff --git a/docs/docs/B.md b/docs/docs/B.md index 1bcfe0cf1..2291ce71d 100644 --- a/docs/docs/B.md +++ b/docs/docs/B.md @@ -1,5 +1 @@ ---- -layout: default ---- - # Markdown hello from Class B \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index fd9d2f282..b4a1eb577 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,7 +1,3 @@ ---- -layout: default ---- - This is an example for documentation. Create a document inside docs in markdown.