Adding pagePath twig extension