summaryrefslogtreecommitdiff
path: root/_includes/JB/comments
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2015-06-16 10:54:48 +0200
committerAntonin Descampe <antonin@gmail.com>2015-06-16 10:54:48 +0200
commit6aa449bd03e48cf069500bd36ca4bab4e4280c38 (patch)
tree79d606f09ed54e702e88e7040b3773a5c6f30e41 /_includes/JB/comments
initial commit with jekyll-boostrap
Diffstat (limited to '_includes/JB/comments')
-rw-r--r--_includes/JB/comments18
1 files changed, 18 insertions, 0 deletions
diff --git a/_includes/JB/comments b/_includes/JB/comments
new file mode 100644
index 00000000..eec2e1e7
--- /dev/null
+++ b/_includes/JB/comments
@@ -0,0 +1,18 @@
+{% if site.JB.comments.provider and page.comments != false %}
+
+{% case site.JB.comments.provider %}
+{% when "disqus" %}
+ {% include JB/comments-providers/disqus %}
+{% when "livefyre" %}
+ {% include JB/comments-providers/livefyre %}
+{% when "intensedebate" %}
+ {% include JB/comments-providers/intensedebate %}
+{% when "facebook" %}
+ {% include JB/comments-providers/facebook %}
+{% when "duoshuo" %}
+ {% include JB/comments-providers/duoshuo %}
+{% when "custom" %}
+ {% include custom/comments %}
+{% endcase %}
+
+{% endif %} \ No newline at end of file