Added titles over the staticpage- and monthlist

This commit is contained in:
Stefan Ritter 2009-03-02 01:17:58 +01:00
parent 10fd2572ac
commit 90abea32b6

View File

@ -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])