[jaring] home,main: use template header.