Half way there.

Kinda working, but the code is very ugly and there are many missing
features (different layouts for index and posts, document var in index
available, etc..).
removed example build folder