adds html to display posts