From 9def164db3ad256ace922aa71e2efb38943f85af Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Mon, 23 Nov 2015 23:38:27 +0100 Subject: [PATCH] Add disqus to standard pages, too --- _layouts/page-without-comments.html | 8 ++++++++ _layouts/page.html | 3 +++ archive.md | 2 +- contact.md | 2 +- 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 _layouts/page-without-comments.html diff --git a/_layouts/page-without-comments.html b/_layouts/page-without-comments.html new file mode 100644 index 00000000..960f7678 --- /dev/null +++ b/_layouts/page-without-comments.html @@ -0,0 +1,8 @@ +--- +layout: default +--- + +
+

{{ page.title }}

+ {{ content }} +
diff --git a/_layouts/page.html b/_layouts/page.html index 960f7678..2641728d 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -5,4 +5,7 @@ layout: default

{{ page.title }}

{{ content }} + +
+ {% include disqus.html %}
diff --git a/archive.md b/archive.md index e418e293..314b363e 100644 --- a/archive.md +++ b/archive.md @@ -1,5 +1,5 @@ --- -layout: page +layout: page-without-comments title: Archive redirect_from: "/archive/" --- diff --git a/contact.md b/contact.md index 2fb0f34d..4dd614f7 100644 --- a/contact.md +++ b/contact.md @@ -1,5 +1,5 @@ --- -layout: page +layout: page-without-comments title: Contact sitemap: false ---