templates: head urls fix