diff --git a/main.html b/main.html
index fe74e8e81f..a3bc73e1a6 100644
--- a/main.html
+++ b/main.html
@@ -3,16 +3,16 @@
<%block name="title">MITX 6.002%block>
-
+
-
-
-
-
-
+
+
+
+
+
@@ -27,7 +27,7 @@
displayMath: [["\\[","\\]"]]}
});
-
+
-
+
+
-
-
-
+
+
+
@@ -61,12 +61,15 @@ function postJSON(url, data, callback) {
<%block name="header">
">
+% if settings.COURSEWARE_ENABLED:
<%block name="header_nav">
%block>
+% endif
+
<%block name="header_text">
MITx
diff --git a/simplewiki_base.html b/simplewiki_base.html
index d4270c9752..f73c63218e 100644
--- a/simplewiki_base.html
+++ b/simplewiki_base.html
@@ -42,7 +42,7 @@
tex2jax: {inlineMath: [ ['$','$'], ["\\(","\\)"]],
displayMath: [ ['$$','$$'], ["\\[","\\]"]]}
});
-
+