Remove comments in dev environment (#1363)
This commit is contained in:
parent
7c2273f23d
commit
1b3cc608bb
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ layout: default
|
|||
{% 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>
|
||||
|
|
Loading…
Add table
Reference in a new issue