Restructured code for displaying commentlinks
This commit is contained in:
parent
fb1a6d9c56
commit
b964989fce
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user