Extracted post content into a partial

Extracted post content into a partial so it can be used in both the `post` file and in the `index` file without repeating itself.