summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2017-08-30 09:56:54 +0930
committerdaniel-Jones <daniel@danieljon.es>2017-08-30 09:56:54 +0930
commit7ab2f96ca0cfd4c771157a6bc113cb7b7a959c15 (patch)
treea43834c576a7a91ef645d8c05a724e2a4f4933f3
parent108bf25d291587989e789cf0f71b33dc3c7b7737 (diff)
downloadwebsite-7ab2f96ca0cfd4c771157a6bc113cb7b7a959c15.tar.gz
website-7ab2f96ca0cfd4c771157a6bc113cb7b7a959c15.zip
improved readme
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index cd482d8..1469cce 100644
--- a/README.md
+++ b/README.md
@@ -18,3 +18,20 @@ 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.
+
+# settigns.cfg?
+This file contains various settings you cna change including the number of blog posts per page, titles, content locations, blog directory etc. Play with these if you want.
+
+#.htaccess for blog?
+I use the following as my .htaccees for /blog, it makes /blog go to blog/1, /1 translates to 1.html etc:
+
+```
+Options +SymLinksIfOwnerMatch
+Order Allow,Deny
+Allow from all
+RewriteEngine On
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule ^([A-Za-z0-9-]+)/?$ $1.html [NC,QSA]
+DirectoryIndex 1.html
+```