From 68eb05f5c0df68e754e5eeeb154c445bf687368c Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Fri, 24 Nov 2017 09:06:46 +1100 Subject: blog removed the <- and -> links (first and last page) because they were utterly useless. --- generatesite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generatesite.py b/generatesite.py index 8d2db51..38e2cbc 100644 --- a/generatesite.py +++ b/generatesite.py @@ -38,13 +38,13 @@ def generateindex(): def generatepagebar(currentpage, pagecount): print("generating page bar for {} total {}".format(currentpage, pagecount)); - pages = "
<- prev "; + pages = "
prev "; for x in range(1, int(pagecount)+1): if x == int(currentpage): pages += "" + str(x) + " "; else: pages += "" + str(x) + " "; - pages += "next ->
"; + pages += "next
"; return pages; def generateportfolio(): -- cgit v1.2.3