From 6b099119bb341d16ebe3e468e9edb427dd24dfaf Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 26 Mar 2014 15:54:01 -0400 Subject: [PATCH] Include Disqus script only if shortname is present in _config.yml --- _includes/_disqus_comments.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_includes/_disqus_comments.html b/_includes/_disqus_comments.html index 0e1f7e38..95b26b3b 100644 --- a/_includes/_disqus_comments.html +++ b/_includes/_disqus_comments.html @@ -1,3 +1,4 @@ +{% if site.disqus_shortname %} -comments powered by Disqus \ No newline at end of file +comments powered by Disqus +{% endif %} \ No newline at end of file