move main page to a TT template