diff options
author | daniel-Jones <daniel@danieljon.es> | 2017-08-30 09:56:54 +0930 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2017-08-30 09:56:54 +0930 |
commit | 7ab2f96ca0cfd4c771157a6bc113cb7b7a959c15 (patch) | |
tree | a43834c576a7a91ef645d8c05a724e2a4f4933f3 | |
parent | 108bf25d291587989e789cf0f71b33dc3c7b7737 (diff) | |
download | website-7ab2f96ca0cfd4c771157a6bc113cb7b7a959c15.tar.gz website-7ab2f96ca0cfd4c771157a6bc113cb7b7a959c15.zip |
improved readme
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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 +``` |