summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2017-11-18 20:37:26 +1100
committerdaniel-Jones <daniel@danieljon.es>2017-11-18 20:37:26 +1100
commit5a32af49679b4d07f20888a57829c2cb459b110b (patch)
tree7ec035e6d3930277da6d47069e48c154ec8ba8d5
parenta097c125e1461095dd29be73f21662046b86a07e (diff)
downloadwebsite-5a32af49679b4d07f20888a57829c2cb459b110b.tar.gz
website-5a32af49679b4d07f20888a57829c2cb459b110b.zip
removed 'page' from pagebar
-rw-r--r--generatesite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/generatesite.py b/generatesite.py
index 2d5d069..8d2db51 100644
--- a/generatesite.py
+++ b/generatesite.py
@@ -38,7 +38,7 @@ def generateindex():
def generatepagebar(currentpage, pagecount):
print("generating page bar for {} total {}".format(currentpage, pagecount));
- pages = "<div class='middle'>page <a href='1'><-</a> <a href='" + str(pagecount if int(currentpage) == 1 else int(currentpage)-1) + "'>prev</a> ";
+ pages = "<div class='middle'><a href='1'><-</a> <a href='" + str(pagecount if int(currentpage) == 1 else int(currentpage)-1) + "'>prev</a> ";
for x in range(1, int(pagecount)+1):
if x == int(currentpage):
pages += "<strong><i><a href=" + str(x) + ">" + str(x) + "</a></i></strong> ";