Ridiculous build script and HTML+CSS for staydecent.ca
PHP CSS HTML JavaScript Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.htaccess
README.md
build.php
deploy.sh
functions.php
index.php
markdown.php
new_post.sh

README.md

Ridiculous build script and source to staydecent.ca

I tried hacking jekyll to work with files/dirs the way I wanted but failed. So, I wrote this ridiculous build script in PHP.

Build

build.php expects an output dir and a hostname. php build.php public http://localhost:8000

Test

To test the output locally (it's just HTML files) just run: php -S localhost:8000

index.php expects the output dir to be public/.