Added the lookshe-hack

This commit is contained in:
Stefan Ritter 2009-03-08 22:25:38 +01:00
parent eb91377cd4
commit 5d99e09263

View File

@ -114,7 +114,12 @@ if staticpages == "True":
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)
# The ultimative lookshe-hack *g*
if title == "lookshe":
print ' &nbsp;<a href="?s=' + link + '">/me</a>&nbsp;<br />'
else:
print ' &nbsp;<a href="?s=' + link + '">' + title + '</a>&nbsp;<br />' print ' &nbsp;<a href="?s=' + link + '">' + title + '</a>&nbsp;<br />'
if monthlist == "True": print ' <br />' if monthlist == "True": print ' <br />'
print ' </div>' print ' </div>'