For a website I'm working on, the homepage needs to have a completely different layout from the rest of the site, also it has a different header and menu, and no foooter.
I tried makin the HomePage a template extending from sitetree first but it was still including the header menu and footer from the Page page type.
Also tried making it a subtemplate of Page and used $URLSegemnt in the <body> tag to create a page id so I could try and remove or make the items display differently in the css file, which half worked, checking the source code once the page had been generated it was showing the homepage with <body id="home"> but none of my #home css styles were being applied to the page.
So is there a way to either make the HomePage page type not inherit from the Page page type, or to remove the header menu and footer in the template?
The only other way i can think of to do it at the mo is to leave the Page page type blank inside the body tags and include the header footer and menu individually on each sub-template except the HomePage.