From c7352082ebbd1416d3899609617e4fe3f2b7284e Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Sun, 10 Sep 2017 13:58:51 +0930 Subject: added page anchors for blog posts so they can be linked directly --- generatesite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generatesite.py b/generatesite.py index 10afbaa..7f6af81 100644 --- a/generatesite.py +++ b/generatesite.py @@ -117,7 +117,7 @@ def generateblog(): if count < postcount + 1: with open(blogsrc + "/final/" + str(x) + ".txt") as contentfile: content = contentfile.read(); - page += "#" + str(total_count) + content + "
"; + page += "
#" + str(total_count) + "" + content + "
"; count += 1; total_count -= 1; if cpage <= pagecount: -- cgit v1.2.3