diff --git a/website/common/templates/common/comments.html b/website/common/templates/common/comments.html index 35e3b79..e3b270c 100644 --- a/website/common/templates/common/comments.html +++ b/website/common/templates/common/comments.html @@ -1,5 +1,7 @@ -
+
-
+ - +{% if not DEBUG %} + +{% endif %} diff --git a/website/utils/context_processors.py b/website/utils/context_processors.py index 5ca2404..fc7fa77 100644 --- a/website/utils/context_processors.py +++ b/website/utils/context_processors.py @@ -3,4 +3,4 @@ from django.http.request import HttpRequest def global_vars(request: HttpRequest) -> dict: - return {"SEO_INDEX": settings.SEO_INDEX} + return {"SEO_INDEX": settings.SEO_INDEX, "DEBUG": settings.DEBUG}