Update HOF main template to fix display issues.