path path(name, parameters = [], relative = false) is a Twig function to create valid URI strings to paths configured on your site. For more information, see Linking in templates.