diff options
author | Stefan Ritter <xeno@thehappy.de> | 2009-03-02 01:17:58 +0100 |
---|---|---|
committer | Stefan Ritter <xeno@thehappy.de> | 2009-03-02 01:17:58 +0100 |
commit | 90abea32b64d7f4420e1666ceb59855b729635f6 (patch) | |
tree | 797632214aee5a7dc279be7011cbff66a8953316 | |
parent | 10fd2572acfec46ac9edcf8eb64609210fe158d7 (diff) |
Added titles over the staticpage- and monthlist
-rwxr-xr-x | blogthon.cgi | 2 |
1 files changed, 2 insertions, 0 deletions
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 ' <div class="staticpages">' + print ' <small>pages</small><br />' 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 ' <div class="monthlist">' + print ' <small>months</small><br />' for entry in entries: date = time.strftime("%m%Y", entry[0]) date_display = time.strftime("%h %Y", entry[0]) |