From 7688d26354567ac7ed1c6001fa484d0438900559 Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Wed, 25 Jan 2012 01:04:19 +0800 Subject: comment --- source/_includes/after_footer.html | 1 + source/_includes/disqus.html | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 source/_includes/disqus.html (limited to 'source/_includes') diff --git a/source/_includes/after_footer.html b/source/_includes/after_footer.html index 9e4e391..cc756a0 100644 --- a/source/_includes/after_footer.html +++ b/source/_includes/after_footer.html @@ -1 +1,2 @@ +{% include disqus.html %} {% include custom/after_footer.html %} \ No newline at end of file diff --git a/source/_includes/disqus.html b/source/_includes/disqus.html new file mode 100644 index 0000000..eb30877 --- /dev/null +++ b/source/_includes/disqus.html @@ -0,0 +1,21 @@ +{% comment %} Load script if disquss comments are enabled and `page.comments` is either empty (index) or set to true {% endcomment %} +{% if site.disqus_short_name and page.comments != false %} + +{% endif %} -- cgit v1.2.3