Don't show comments in preview mode

This commit is contained in:
Jake Howard 2023-03-10 16:10:47 +00:00
parent 83bc0d2ffb
commit 8469f1db1f
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 4 additions and 1 deletions

View File

@ -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 %}