Using after_render function rather than before_render : we don't need
to add twig vars to the themes.