Don't show comments in preview mode
This commit is contained in:
parent
83bc0d2ffb
commit
8469f1db1f
1 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,10 @@
|
|||
|
||||
{% block post_content %}
|
||||
{% include "common/shareon.html" %}
|
||||
{% include "common/comments.html" %}
|
||||
|
||||
{% if not request.is_preview %}
|
||||
{% include "common/comments.html" %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_css %}
|
||||
|
|
Loading…
Reference in a new issue