remove path info from Twig render statement.