add root url to templates