Change main template to be phtml instead of html