One template for index and posts

Merged /index and /posts template into one