Uses jekyll.environment value to enable or disable disqus and google analytics on serve
This commit is contained in:
chipset 2015-11-21 21:49:43 +05:30
parent 1bcb7b68a8
commit ffa7cff17c
2 changed files with 7 additions and 4 deletions

View file

@ -26,8 +26,10 @@
{{ page.content | markdownify }}
{% include share.html %}
{% include comments.html %}
{% if jekyll.environment == "production" %}
{% include comments.html %}
{% endif %}
{% include social-buttons.html %}