[mhonarc] add link names



commit 38fe8aff53d735e956c912cea48f3404463078d1
Author: Olav Vitters <olav vitters nl>
Date:   Wed Feb 13 00:31:58 2013 +0100

    add link names

 archive.py          |    2 +-
 public-rc/author.rc |    2 +-
 public-rc/date.rc   |    2 +-
 public-rc/thread.rc |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/archive.py b/archive.py
index 69564f8..33e0b18 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>By %s</h2>' % link.title())
+                    fp.write('<h2 name="{link}">By {link_title}</h2>'.format(link=link, linktitle=link.title())
                     fp.write('<table border=0>')
                     for year in sorted(years, reverse=True):
                         fp.write('''<tr><th>%s</th>''' % year)
diff --git a/public-rc/author.rc b/public-rc/author.rc
index 4e0bd1d..4d280cc 100644
--- a/public-rc/author.rc
+++ b/public-rc/author.rc
@@ -81,7 +81,7 @@ author.html
 	      <h1>$ARCHDATE$ Archive by Author</h1>
 <UL>
 <LI>Messages sorted by: [ <A HREF="thread.html">Thread</A> ] [ <A HREF="date.html">Date</A> ] [ Author ]</LI>
-<LI><A HREF="../index.html">Other months</A></LI>
+<LI><A HREF="../index.html#author">Other months</A></LI>
 </UL>
 </UL>
 </ListBegin>
diff --git a/public-rc/date.rc b/public-rc/date.rc
index aea6047..5b0c94f 100644
--- a/public-rc/date.rc
+++ b/public-rc/date.rc
@@ -76,7 +76,7 @@ date.html
          <h1>$ARCHDATE$ Archive by Date</h1>
 <UL>
 <LI>Messages sorted by: [ <A HREF="$TIDXFNAME$">Thread</A> ] [ Date ] [ <A HREF="author.html">Author</A> ]</LI>
-<LI><A HREF="../index.html">Other months</A></LI>
+<LI><A HREF="../index.html#date">Other months</A></LI>
 
 </UL>
 </ListBegin>
diff --git a/public-rc/thread.rc b/public-rc/thread.rc
index f3f71bb..bd89bba 100644
--- a/public-rc/thread.rc
+++ b/public-rc/thread.rc
@@ -81,7 +81,7 @@ thread.html
 	      <h1>$ARCHDATE$ Archive by Thread</h1>
 <UL>
 <LI>Messages sorted by: [ Thread ] [ <A HREF="$IDXFNAME$">Date</A> ] [ <A HREF="author.html">Author</A> ]</LI>
-<LI><A HREF="../index.html">Other months</A></LI>
+<LI><A HREF="../index.html#thread">Other months</A></LI>
 </UL>
 
 <p>Messages are ordered newest-to-oldest in this index.  The newest


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