diff --git a/project/common/views.py b/project/common/views.py
index 5ca3685..e87fbc0 100644
--- a/project/common/views.py
+++ b/project/common/views.py
@@ -9,4 +9,5 @@ class CustomTemplate(TemplateView):
context = super().get_context_data(**kwargs)
context['html_title'] = self.html_title
context['body_class'] = self.body_class
+ context['js_redirect'] = True
return context
diff --git a/project/pages/views.py b/project/pages/views.py
index c8f8e0a..b4bb084 100644
--- a/project/pages/views.py
+++ b/project/pages/views.py
@@ -12,7 +12,7 @@ class NoJavascriptView(CustomTemplate):
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
- context['no_js_redirect'] = True
+ context['js_redirect'] = False
return context
diff --git a/templates/base.html b/templates/base.html
index 1228b36..e5712c9 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -37,7 +37,7 @@
- {% if not no_js_redirect %}
+ {% if js_redirect %}