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 = glob.glob(staticpages_dir + '*')
|
||||||
staticpages_list.sort()
|
staticpages_list.sort()
|
||||||
print ' <div class="staticpages">'
|
print ' <div class="staticpages">'
|
||||||
|
print ' <small>pages</small><br />'
|
||||||
for staticpage in staticpages_list:
|
for staticpage in staticpages_list:
|
||||||
title = re.sub('\w+?\/\d+?-', '', staticpage)
|
title = re.sub('\w+?\/\d+?-', '', staticpage)
|
||||||
link = re.sub('\w+?\/', '', staticpage)
|
link = re.sub('\w+?\/', '', staticpage)
|
||||||
@ -86,6 +87,7 @@ if staticpages:
|
|||||||
if monthlist:
|
if monthlist:
|
||||||
olddate = ""
|
olddate = ""
|
||||||
print ' <div class="monthlist">'
|
print ' <div class="monthlist">'
|
||||||
|
print ' <small>months</small><br />'
|
||||||
for entry in entries:
|
for entry in entries:
|
||||||
date = time.strftime("%m%Y", entry[0])
|
date = time.strftime("%m%Y", entry[0])
|
||||||
date_display = time.strftime("%h %Y", entry[0])
|
date_display = time.strftime("%h %Y", entry[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user