Add list method to posts to show in the root page