aboutsummaryrefslogtreecommitdiffstats
path: root/blogthon.cgi
diff options
context:
space:
mode:
authorAdrian Vondendriesch <discostu@81-89-105-205.(none)>2009-06-01 03:31:08 +0200
committerAdrian Vondendriesch <discostu@81-89-105-205.(none)>2009-06-01 03:31:08 +0200
commitb0cbe355215cab894e94f5de2afa273ace1ef0f9 (patch)
tree4aeb88d044f2a024c711e55dde16668d0efb64ab /blogthon.cgi
parent485b4fe81a9cdca7ed7f81f1d30de3f9eec116d3 (diff)
Several changes:
* Removed the branding
Diffstat (limited to 'blogthon.cgi')
-rwxr-xr-xblogthon.cgi7
1 files changed, 3 insertions, 4 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index 1554fd8..6e02edb 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -1,6 +1,4 @@
-#!/usr/bin/python
-
-# This program is free software. It comes without any warranty, to
+s program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What The Fuck You Want
# To Public License, Version 2, as published by Sam Hocevar. See
@@ -432,7 +430,7 @@ else:
content.close()
entry_counter += 1
- if not month_display and not post_display and not allentries_display and entry_counter >= entries_per_page: # Display pagelist
+ if not month_display and not post_display and not allentries_display and entry_counter == entries_per_page: # Display pagelist
print ' <div class="entry"><a href=?a=1>View all entries...</a></div>'
print ' </div>'
@@ -441,3 +439,4 @@ else:
print '</html>'
# vim: set tw=0 ts=4:
+