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

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