From 813bebb67686ae187c950edf39cc7b30153ad00c Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Fri, 5 Jan 2018 13:34:42 +1030 Subject: removed link to the current page in the blogs pagebar generator, it's pretty useless and only stands to confuse the user more --- generatesite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generatesite.py b/generatesite.py index 0395ae1..ac72a0a 100644 --- a/generatesite.py +++ b/generatesite.py @@ -41,7 +41,7 @@ def generatepagebar(currentpage, pagecount): pages = "
prev "; for x in range(1, int(pagecount)+1): if x == int(currentpage): - pages += "" + str(x) + " "; + pages += "" + str(x) + " "; else: pages += "" + str(x) + " "; pages += "next
"; -- cgit v1.2.3