Restructured code for displaying commentlinks

This commit is contained in:
Stefan Ritter 2009-03-03 13:53:31 +01:00
parent fb1a6d9c56
commit b964989fce
1 changed files with 4 additions and 1 deletions

View File

@ -140,7 +140,10 @@ else: # Show regular entry
for line in content:
print ' ' + line.strip() + '<br />'
if comments == "True":
print ' <div class="comment"><ul><li><a href=? class="comment">comments</a></li></ul></div><br />'
print ' <div class="comment">'
print ' <ul><li><a href=? class="comment">comments</a></li></ul>'
print ' </div><br />'
print ' </p></div>'
print ' <br /><br />'
content.close()