Approaches to Site Building
How to stay DRY (Don't Repeat Yourself)
Remember that part of DRY is for your HTML pages to reference the same CSS and/or JavaScript document(s)!
For pages within the site, there will be a lot of common parts in the HTML that give the structure, and there will likely be common content that is repeated (such as header, footer, navigation)
Techniques
- cut-and-paste
- Static Site Generators (SSG)
- Parts into a whole — with SSI, PHP
- Web Content Management System (e.g. Wordpress)