From 40e71d07f803fa5a294efe59d68cd3cb8653a7de Mon Sep 17 00:00:00 2001 From: Matthias Rampke Date: Mon, 8 Jan 2018 18:50:56 +0000 Subject: [PATCH] Revert changes to the default layout and instead make a new "page" layout for markdown-based pages. This avoids changing the HTML based pages which are using the "default" layout currently. --- content/governance.md | 2 +- layouts/default.html | 4 +--- layouts/page.html | 12 ++++++++++++ 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 layouts/page.html diff --git a/content/governance.md b/content/governance.md index da8b0905..40fe7641 100644 --- a/content/governance.md +++ b/content/governance.md @@ -1,6 +1,6 @@ --- title: Governance -layout: default +layout: page --- diff --git a/layouts/default.html b/layouts/default.html index 7b11f34b..92856f79 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -1,9 +1,7 @@ <%= render 'header' %>
-
- <%= yield %> -
+ <%= yield %> <%= render 'container_footer' %>
diff --git a/layouts/page.html b/layouts/page.html new file mode 100644 index 00000000..7f9eb10b --- /dev/null +++ b/layouts/page.html @@ -0,0 +1,12 @@ +<%= render 'header' %> + +
+
+
+ <%= yield %> +
+
+ <%= render 'container_footer' %> +
+ +<%= render 'footer' %>