diff --git a/blogthon.cgi b/blogthon.cgi index eeeb1a0..8c5d0aa 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -105,6 +105,7 @@ else: print '
' +# Sidebar: Monthlist if monthlist == "True": olddate = "" print '
' @@ -136,14 +138,16 @@ if monthlist == "True": if linklist == "True": print '
' print '
' +# Sidebar: Linklist if linklist == "True": - content = open("linklist", "r") print '
' print ' links
' + content = open("linklist", "r") for line in content: - print '  ' + line.split(" ", 1)[1].strip() + ' 
' - print '
' + if not line.strip() is "": + print '  ' + line.split(" ", 1)[1].strip() + ' 
' content.close() + print '
' print ' ' print '
'