Refining base twig templates