Hi,
Whenever I've made a website, I've always made the design and general layout at first. Then I've just used that page as a "template" for all future pages on the site. However, I guess that is not the most efficient way to build up a website.
My site is made up with includes (for the header, footer, etc). But, how would the best way be to load different content whenever a link is clicked? Right now I'm just dublicating the general template and pastes content into the main div - and repeats that behaviour for every single page (gallery, contact, etc).
Whenever I've made a website, I've always made the design and general layout at first. Then I've just used that page as a "template" for all future pages on the site. However, I guess that is not the most efficient way to build up a website.
My site is made up with includes (for the header, footer, etc). But, how would the best way be to load different content whenever a link is clicked? Right now I'm just dublicating the general template and pastes content into the main div - and repeats that behaviour for every single page (gallery, contact, etc).
Comment