fix(template): main header image uses $location to open the main page