summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/views/expo.py5
-rw-r--r--templates/menu.html2
2 files changed, 2 insertions, 5 deletions
diff --git a/core/views/expo.py b/core/views/expo.py
index 55a34be..00cb6dc 100644
--- a/core/views/expo.py
+++ b/core/views/expo.py
@@ -168,12 +168,9 @@ def expowebpage(request, expowebpath, path):
editable = os.access(expowebpath / path, os.W_OK) # are file permissions writeable?
has_menu = False
- menumatch = re.match(r'(.*)<div id="menu">', body, re.DOTALL + re.IGNORECASE)
- if menumatch:
- has_menu = True
menumatch = re.match(r'(.*)<ul id="links">', body, re.DOTALL + re.IGNORECASE)
if menumatch:
- has_menu = True
+ has_menu = False
#Determine which caves this page relates to
m = re.search(r"(162\d\/[^\/]+)[\/\.]", path, re.DOTALL + re.IGNORECASE)
diff --git a/templates/menu.html b/templates/menu.html
index 86277fd..3ec6152 100644
--- a/templates/menu.html
+++ b/templates/menu.html
@@ -1,6 +1,6 @@
{% if not homepage %}
<div id="menu">
-<ul id="links">
+<ul id="menulinks">
<li><a href="/index.htm">Home</a></li>
<li><a href="/handbook/index.htm">Handbook</a>
{% if handbook %}