From 8b37b87a92b02a1f68578eec0e84627902f9c5aa Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 16 Apr 2023 15:05:10 +0100 Subject: [PATCH] Don't show share buttons in preview --- website/common/templates/common/content_page.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/common/templates/common/content_page.html b/website/common/templates/common/content_page.html index 42ad7f9..e4be19d 100644 --- a/website/common/templates/common/content_page.html +++ b/website/common/templates/common/content_page.html @@ -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 %}