Organize comments providers includes and make FB fill parent container

This commit is contained in:
Michael Rose
2016-03-23 12:55:36 -04:00
parent f19f08070d
commit 0e365ee248
4 changed files with 22 additions and 12 deletions

View File

@ -0,0 +1,14 @@
{% if site.comments.provider and page.comments %}
{% case site.comments.provider %}
{% when "disqus" %}
{% include /comments-providers/disqus.html %}
{% when "facebook" %}
{% include /comments-providers/facebook.html %}
{% when "google-plus" %}
{% include /comments-providers/google-plus.html %}
{% when "custom" %}
{% include /comments-providers/custom.html %}
{% endcase %}
{% endif %}