diff options
Diffstat (limited to 'templates/includes/comments.html')
-rw-r--r-- | templates/includes/comments.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/includes/comments.html b/templates/includes/comments.html index 9c2bffe..a67fdb0 100644 --- a/templates/includes/comments.html +++ b/templates/includes/comments.html @@ -1 +1,5 @@ -<script async crossorigin="anonymous" data-category-id="DIC_kwDOIYDdA84CWSzD" data-category="Announcements" data-emit-metadata="0" data-input-position="bottom" data-lang="en" data-loading="lazy" data-mapping="title" data-reactions-enabled="1" data-repo-id="R_kgDOIYDdAw" data-repo="valentineus/homepage" data-strict="1" data-theme="transparent_dark" src="https://giscus.app/client.js"></script>
\ No newline at end of file +{% set url = current_url | default(value='/') %} + +{% if url is not containing('.onion') %} +<script async crossorigin="anonymous" data-category-id="DIC_kwDOIYDdA84CWSzD" data-category="Announcements" data-emit-metadata="0" data-input-position="bottom" data-lang="en" data-loading="lazy" data-mapping="title" data-reactions-enabled="1" data-repo-id="R_kgDOIYDdAw" data-repo="valentineus/homepage" data-strict="1" data-theme="transparent_dark" src="https://giscus.app/client.js"></script> +{% endif %}
\ No newline at end of file |