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 %}
|
{% block post_content %}
|
||||||
{% include "common/shareon.html" %}
|
{% include "common/shareon.html" %}
|
||||||
|
|
||||||
|
{% if not request.is_preview %}
|
||||||
{% include "common/comments.html" %}
|
{% include "common/comments.html" %}
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block extra_css %}
|
{% block extra_css %}
|
||||||
|
|
Loading…
Reference in a new issue