diff --git a/core/views/expo.py b/core/views/expo.py
index 65b68124e..330733ef2 100644
--- a/core/views/expo.py
+++ b/core/views/expo.py
@@ -174,8 +174,10 @@ def expowebpage(request, expowebpath, path):
menumatch = re.match(r'(.*)
', body, re.DOTALL + re.IGNORECASE)
if menumatch:
has_menu = True
+
+ handbook = path.startswith("handbook")
return render(request, 'expopage.html', {'editable': editable, 'path': path, 'title': title,
- 'body': body, 'homepage': (path == "index.htm"), 'has_menu': has_menu})
+ 'body': body, 'homepage': (path == "index.htm"), 'has_menu': has_menu, 'handbook': handbook})
def mediapage(request, subpath=None, doc_root=None):
'''This is for special prefix paths /photos/ /site_media/, /static/ etc.
diff --git a/templates/editexpopage.html b/templates/editexpopage.html
index d66c9caf6..ef3aa200d 100644
--- a/templates/editexpopage.html
+++ b/templates/editexpopage.html
@@ -86,7 +86,7 @@
var previewFrame = document.getElementById('preview');
var preview = previewFrame.contentDocument || previewFrame.contentWindow.document;
preview.open();
- preview.write("");
+ preview.write(" ");
preview.write(editor.getValue());
preview.write("");
preview.close();
diff --git a/templates/menu.html b/templates/menu.html
index ec9386976..b02bf76e2 100644
--- a/templates/menu.html
+++ b/templates/menu.html
@@ -1,7 +1,17 @@
{% if not homepage %}
+
{% endif %}