Updated twig page extension