From 90abea32b64d7f4420e1666ceb59855b729635f6 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Mon, 2 Mar 2009 01:17:58 +0100 Subject: [PATCH] Added titles over the staticpage- and monthlist --- blogthon.cgi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blogthon.cgi b/blogthon.cgi index 43b63cb..cb149bb 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -76,6 +76,7 @@ if staticpages: staticpages_list = glob.glob(staticpages_dir + '*') staticpages_list.sort() print '
' + print ' pages
' for staticpage in staticpages_list: title = re.sub('\w+?\/\d+?-', '', staticpage) link = re.sub('\w+?\/', '', staticpage) @@ -86,6 +87,7 @@ if staticpages: if monthlist: olddate = "" print '
' + print ' months
' for entry in entries: date = time.strftime("%m%Y", entry[0]) date_display = time.strftime("%h %Y", entry[0])