diff options
-rw-r--r-- | web/content/media/plugins.css | 2 | ||||
-rw-r--r-- | web/macros.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/content/media/plugins.css b/web/content/media/plugins.css index 42d9a73..0e104b9 100644 --- a/web/content/media/plugins.css +++ b/web/content/media/plugins.css | |||
@@ -62,7 +62,7 @@ div#menu span { | |||
62 | padding: 0.6em; | 62 | padding: 0.6em; |
63 | } | 63 | } |
64 | 64 | ||
65 | div#menu span.current { | 65 | div#menu span#current { |
66 | color: #fff; | 66 | color: #fff; |
67 | background-color: #5a95c7; | 67 | background-color: #5a95c7; |
68 | } | 68 | } |
diff --git a/web/macros.py b/web/macros.py index 43a46e0..715d353 100644 --- a/web/macros.py +++ b/web/macros.py | |||
@@ -13,7 +13,7 @@ def menu(): | |||
13 | menu_pages.sort(key=lambda p: int(p['menu-position'])) | 13 | menu_pages.sort(key=lambda p: int(p['menu-position'])) |
14 | for p in menu_pages: | 14 | for p in menu_pages: |
15 | if p.title == page.title: | 15 | if p.title == page.title: |
16 | print('<span class="current">%s</span>' % hx(p.title)) | 16 | print('<span id="current">%s</span>' % hx(p.title)) |
17 | else: | 17 | else: |
18 | print('<span><a href="%s">%s</a></span>' % (p.url, hx(p.title))) | 18 | print('<span><a href="%s">%s</a></span>' % (p.url, hx(p.title))) |
19 | 19 | ||