Replacing deprecated $BaseHref in template

$BaseHref has been deprecated. I have replaced this in the template with $AbsoluteBaseURL.