aboutsummaryrefslogtreecommitdiffstats
path: root/blogthon.cgi
diff options
context:
space:
mode:
Diffstat (limited to '')
-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:
+