Fixes the template to list posts on the front page