diff options
-rw-r--r-- | generatesite.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generatesite.py b/generatesite.py index 1e452a8..4415ac7 100644 --- a/generatesite.py +++ b/generatesite.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 ''' -Copyright Daniel Jones 2017-2018 +Copyright Daniel Jones daniel@danieljon.es script to auto-generate my static website/blog at https://danieljon.es @@ -137,7 +137,7 @@ def generateblog(special): if count < postcount + 1: with open(blogsrc + "/final/" + str(x) + ".txt") as contentfile: content = contentfile.read(); - page += "<div id='" + str(total_count) + "'> <a href='" + directdir + "/" + str(total_count) + "'>direct link</a>" + content + "</div><hr>"; + page += "<div id='" + str(total_count) + "'> post #" + str((postcount + 1) - x) + "<br><a href='" + directdir + "/" + str(total_count) + "'>direct link</a>" + content + "</div><hr>"; count += 1; total_count -= 1; if cpage <= pagecount: |