index only shows published posts