diff options
author | daniel-Jones <daniel@danieljon.es> | 2017-12-10 16:35:22 +1030 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2017-12-10 16:35:22 +1030 |
commit | a970bdfd4705cb43d472fd4adcfd6155a401083c (patch) | |
tree | cf139965d2d349228a403f5360f086576d5be6f3 | |
parent | 746b166704068d2be7762a9c2885f08dae18a891 (diff) | |
download | website-a970bdfd4705cb43d472fd4adcfd6155a401083c.tar.gz website-a970bdfd4705cb43d472fd4adcfd6155a401083c.zip |
beautify direct links
-rw-r--r-- | generatesite.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generatesite.py b/generatesite.py index 6e827e5..0395ae1 100644 --- a/generatesite.py +++ b/generatesite.py @@ -116,7 +116,7 @@ def generateblog(): 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) + ".html'>direct link</a>" + content + "</div><hr>"; + page += "<div id='" + str(total_count) + "'> <a href='" + directdir + "/" + str(total_count) + "'>direct link</a>" + content + "</div><hr>"; count += 1; total_count -= 1; if cpage <= pagecount: |