Adding archive page, fixing bugs

Changes:
- Added support for 'archive' page, listing all previous blog posts
- Fixed a minor bug where placeholder text showed up when previewing a post
- Made template code slightly less verbose by folding map --> HTML conversion into the snippet invocation functions