{% 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 %}