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
1 changed files with 2 additions and 2 deletions

View File

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