From 21bea2fd6a0dd242e9433b8680fdd2d406043b18 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Tue, 14 Oct 2014 19:01:28 -0500 Subject: [PATCH] Don't generate disqus comment threads for drafts. --- _layouts/post.html | 30 ++++++++++++++++-------------- index.html | 2 +- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 2c29ee2..11ead52 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -15,18 +15,20 @@ layout: base
{{ content }}
-
- - + {% unless page.draft %} +
+ + + {% endunless %} diff --git a/index.html b/index.html index 67a6fc4..f86bd4e 100644 --- a/index.html +++ b/index.html @@ -116,7 +116,7 @@ title: Home