pass url to template