summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2017-08-27 18:35:10 +0930
committerdaniel-Jones <daniel@danieljon.es>2017-08-27 18:35:10 +0930
commit1a6f59a1bd3244403b0d222a24374a384b5e7e58 (patch)
treeb565cb06bbe6d9ee6edc78617b08b2dce9e3cec2
parent5f7c68475468c697fa92ef9e66341f5443fceba0 (diff)
downloadwebsite-1a6f59a1bd3244403b0d222a24374a384b5e7e58.tar.gz
website-1a6f59a1bd3244403b0d222a24374a384b5e7e58.zip
new readme
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 48ff3be..8ec8b23 100644
--- a/README.md
+++ b/README.md
@@ -2,3 +2,14 @@
static site generator for my website/blog/portfolio at https://danieljon.es
# why?
My website previously relied heavily on php/databases and didn't render correctly inside my terminal web browser so I decided to take the static, html only route and created a static website generator.
+# how do I use it?
+This script is really _really_ optimised for _my_ setup. to use it in its default state you need ot do the following:
+
+modify template.txt to your liking, this is used on EVERY page
+create a directory named content
+create content/index.txt, this will hold your index.html content (just text and stuff)
+create content/portfolio.txt (or remove generateportfolio();)
+create directory content/blog
+create blog posts in content/blog, 1.txt is the OLDEST post.
+
+It's all just .txt files, you can add html/js to them.