view now references mainpage template