Replacing deprecated $BaseHref in templates with $AbsoluteBaseURL.