Hacker - Blogger - Arch lover
After finishing the design of the site it thought it would also be cool to have a sort of blog.
My first idea was to keep it easy and directly write the blog posts into the source code of the HTML.
But man I am a hacker - this solutions sucks. Always having to care about the shitty HTML and then upload the stuff via FTP.
So lets get some PHP and solve the problem:
$allPosts = array_diff(scandir($path), array('.', '..'));and reorder the array (I want to diplay the newest post on top)
Done for today. I can write in simple markdown and the codes does the rest.
Next Step: Get a git auto pull to always load the newest post from github.