Added titles over the staticpage- and monthlist
This commit is contained in:
parent
10fd2572ac
commit
90abea32b6
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user