Skip to content

Commit

Permalink
Remove comments in dev environment (mmistakes#1363)
Browse files Browse the repository at this point in the history
  • Loading branch information
maazadeeb authored and mmistakes committed Nov 27, 2017
1 parent 078886a commit 52c0d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4
{% include post_pagination.html %}
</div>

{% if site.comments.provider and page.comments %}
{% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
{% include comments.html %}
{% endif %}
</article>
Expand Down

0 comments on commit 52c0d28

Please sign in to comment.