Refactor main page content into an include