I am creating a theme.
I want the contents of the home page to be a static php file with a dynamic header and footer, then all other pages grab the contents from the relevant wordpress page.
I understand I need a index.php file in my theme, but a little unsure on the structure.
Can my index file say if this is the home page view the home.php template file, then for all other pages use the page.php file.
Can you please show me the basics for setting this up.?