[mhonarc] fix link name



commit 70ec5b1ef034b9f39c0287a5eb172440ec455037
Author: Olav Vitters <olav vitters nl>
Date:   Wed Feb 13 00:35:11 2013 +0100

    fix link name

 archive.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/archive.py b/archive.py
index ac650da..2e124ff 100755
--- a/archive.py
+++ b/archive.py
@@ -334,7 +334,7 @@ Search:
 
                 # Overview per thread, date, author
                 for link in ("thread", "date", "author"):
-                    fp.write('<h2 name="{link}">By {link_title}</h2>'.format(link=link, link_title=link.title()))
+                    fp.write('<h2>By {link_title}<a name="{link}"></a></h2>'.format(link=link, link_title=link.title()))
                     fp.write('<table border=0>')
                     for year in sorted(years, reverse=True):
                         fp.write('''<tr><th>%s</th>''' % year)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]