Adding ability to retrieve and format multiple posts

Changes:
- Fixed database function to retrieve multiple posts
- Separated out post rendering into a snippet
- Implemented basic rendering for both individual posts and blog pages