diff --git a/project/pages/views.py b/project/pages/views.py
index 9ad1f5a..1842fa8 100644
--- a/project/pages/views.py
+++ b/project/pages/views.py
@@ -10,6 +10,11 @@ class IndexView(TemplateView):
class NoJavascriptView(TemplateView):
template_name = 'core/no-js.html'
+ def get_context_data(self, **kwargs):
+ context = super().get_context_data(**kwargs)
+ context['no_js_redirect'] = True
+ return context
+
class Custom404View(CustomHeaderBG.Template):
template_name = 'core/404.html'
diff --git a/templates/base.html b/templates/base.html
index 6c4a93b..c660e24 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -35,10 +35,11 @@
-
-
+ {% if not no_js_redirect %}
+
+ {% endif %}