Updated default twig files to use publishedWhen