Don't show share buttons in preview

This commit is contained in:
Jake Howard 2023-04-16 15:05:10 +01:00
parent fbef7c61b2
commit 8b37b87a92
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -11,9 +11,9 @@
{% endblock %} {% endblock %}
{% block post_content %} {% block post_content %}
{% include "common/shareon.html" %}
{% if not request.is_preview %} {% if not request.is_preview %}
{% include "common/shareon.html" %}
{% include "common/comments.html" %} {% include "common/comments.html" %}
{% endif %} {% endif %}
{% endblock %} {% endblock %}