diff --git a/src/default.hbs b/src/default.hbs
index 4819b6dc..5e434204 100644
--- a/src/default.hbs
+++ b/src/default.hbs
@@ -62,6 +62,7 @@
window.GHOSTIUM = {};
GHOSTIUM.haveGA = typeof ga_ua !== 'undefined' && ga_ua !== 'UA-XXXXX-X';
GHOSTIUM.haveDisqus = typeof disqus_shortname !== 'undefined' && disqus_shortname !== 'example';
+ GHOSTIUM.haveDiscourse = typeof discourse_url !== 'undefined' && discourse_url !== 'http://example.com';
GHOSTIUM.enablePjax = typeof enable_pjax !== 'undefined' ? enable_pjax : true;
diff --git a/src/partials/custom/config.hbs b/src/partials/custom/config.hbs
index 81a4e581..d7cdd8b4 100644
--- a/src/partials/custom/config.hbs
+++ b/src/partials/custom/config.hbs
@@ -4,5 +4,8 @@ var ga_ua = 'UA-XXXXX-X';
{{! Your Disqus shortname }}
var disqus_shortname = 'example';
+{{! Your Dicourse URL }}
+var discourse_url = 'http://example.com';
+
{{! Enable Pjax for asynchronous (AJAX) content loading }}
var enable_pjax = true;
diff --git a/src/post.hbs b/src/post.hbs
index 0ed46d83..9263649a 100644
--- a/src/post.hbs
+++ b/src/post.hbs
@@ -83,6 +83,7 @@
{{/post}}
@@ -105,7 +106,26 @@
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
}
- } else {
+ }
+
+
+{{#post}}
+
+{{/post}}
+
+