adapted content_path twig function