add is_published to templates