diff --git a/blahblah/render.py b/blahblah/render.py
index be41be4..4146735 100644
--- a/blahblah/render.py
+++ b/blahblah/render.py
@@ -73,16 +73,16 @@ def generateBodies(db):
counter += 1
if i > 1:
- prev = ' Page ' + str(i-1) + ' \u2b05 Page ' + str(i-1) + '
Page ' + str(i) + '
' if i == pageCount: - following = " " + following = "" else: - following = 'Page ' + str(i+1) + '
' + following = 'Page ' + str(i+1) + ' \u27a1
' with open("./blog/page" + str(i) + ".html", "w") as f: f.write(rollTemplate.render(prevPage=prev, curPage=cur, nextPage=following, webRoot=documentRoot, blogContent=blobStack, siteCopyright=copyrightHolder)) diff --git a/init.sh b/init.sh index c321ea8..29b8a08 100755 --- a/init.sh +++ b/init.sh @@ -1,2 +1,5 @@ mkdir blog && chmod 755 blog mkdir blog/posts && chmod 755 blog/posts +if [-e "./example.toml"]; then + cp example.toml config.toml +fi