template: fix for unicode url handling

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>