aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2023-05-23 23:30:43 +0300
committerValentin Popov <valentin@popov.link>2023-05-23 23:30:43 +0300
commit7298ade31cac0f6690a00369101e77797430dca9 (patch)
treeb7a5ce2788dd3aa19def5fa3ab8fe361046475c4
parentb11e766a137f555ebaf30872ff2b27c1b053f77d (diff)
downloadpopov.link-7298ade31cac0f6690a00369101e77797430dca9.tar.xz
popov.link-7298ade31cac0f6690a00369101e77797430dca9.zip
Disabled comments for the anonymous site
-rw-r--r--templates/post.html2
1 files changed, 2 insertions, 0 deletions
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 }}
</section>
+{% if page.permalink is not containing('.onion') %}
<section>
{% include 'includes/comments.html' %}
</section>
+{% endif %}
{% endblock content %} \ No newline at end of file