Added the lookshe-hack

This commit is contained in:
Stefan Ritter 2009-03-08 22:25:38 +01:00
parent eb91377cd4
commit 5d99e09263
1 changed files with 6 additions and 1 deletions

View File

@ -114,7 +114,12 @@ if staticpages == "True":
for staticpage in staticpages_list:
title = re.sub('\w+?\/\d+?-', '', staticpage)
link = re.sub('\w+?\/', '', staticpage)
print ' &nbsp;<a href="?s=' + link + '">' + title + '</a>&nbsp;<br />'
# 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 />'
if monthlist == "True": print ' <br />'
print ' </div>'