remove index error exceptions if home and post_listing views don't have posts