template: canonical url using unicode fix

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