summaryrefslogtreecommitdiff
path: root/_includes/comments.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/comments.html')
-rw-r--r--_includes/comments.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/_includes/comments.html b/_includes/comments.html
new file mode 100644
index 0000000..8029395
--- /dev/null
+++ b/_includes/comments.html
@@ -0,0 +1,11 @@
+{%- if jekyll.environment != 'development' -%}
+ {%- if site.comments.provider == 'disqus' -%}
+ {%- include comments-providers/disqus.html -%}
+ {%- elsif site.comments.provider == 'gitalk' -%}
+ {%- include comments-providers/gitalk.html -%}
+ {%- elsif site.comments.provider == 'valine' -%}
+ {%- include comments-providers/valine.html -%}
+ {%- elsif site.comments.provider == 'custom' -%}
+ {%- include comments-providers/custom.html -%}
+ {%- endif -%}
+{%- endif -%}