diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-10-03 15:52:39 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-10-03 15:52:39 +0200 |
commit | 3bddbc9e7a84c2e6712b63bd0fe881a4a3e6261c (patch) | |
tree | d0a970fc5116c0449c751008fc260eaf434849f6 /web/macros.py | |
parent | 837aa10de4e4bad3d5994731fac81cd19c4cceea (diff) | |
download | site-3bddbc9e7a84c2e6712b63bd0fe881a4a3e6261c.tar.gz |
CSS cosmetics: span.current -> span#current
"current" is just one element, not a class of elements.
Diffstat (limited to 'web/macros.py')
-rw-r--r-- | web/macros.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 | ||