'
for line in content:
print ' ' + line.strip() + '
'
+ if comments == "True":
+ print '
' + print '
diff --git a/blogthon.cgi b/blogthon.cgi index 71bf580..dc34572 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -30,6 +30,7 @@ monthlist = configuration.get('look', 'monthlist') staticpages = configuration.get('look', 'staticpages') linklist = configuration.get('look', 'linklist') permalinks = configuration.get('look', 'permalinks') +comments = configuration.get('look', 'comments') newest_first = configuration.get('look', 'newest_first') action = cgi.FieldStorage() @@ -103,7 +104,7 @@ if linklist == "True": print '
' content.close() @@ -138,6 +139,11 @@ else: # Show regular entry print ''
for line in content:
print ' ' + line.strip() + '
'
+ if comments == "True":
+ print '
- comments
' + print '