From 7298ade31cac0f6690a00369101e77797430dca9 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 24 May 2023 00:30:43 +0400 Subject: Disabled comments for the anonymous site --- templates/post.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/post.html b/templates/post.html index 76f15c9..3345908 100644 --- a/templates/post.html +++ b/templates/post.html @@ -9,7 +9,9 @@ {{ page.content | safe }} +{% if page.permalink is not containing('.onion') %}
{% include 'includes/comments.html' %}
+{% endif %} {% endblock content %} \ No newline at end of file -- cgit v1.2.3