Added templating for posts