summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generatesite.py2
1 files changed, 1 insertions, 1 deletions
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 = "<div class='middle'> <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> ";
+ pages += "<strong><i>" + str(x) + "</i></strong> ";
else:
pages += "<a href=" + str(x) + ">" + str(x) + "</a> ";
pages += "<a href='" + str(1 if currentpage == pagecount else int(currentpage)+1) + "'>next</a></div>";