created twig func for url params
version update 2.1