I'm about to start a small project involving creating a micro site. Typically I build my sites using a CMS system with a PHP backed such as WordPress however as the development for this site needs to be fast (and its only a few pages) we have opted to go with a static HTML site with some content generated by php (possible included via AJAX) for the time being.
Now to my question, is there anyway to compile either before commit (using gulp/grunt or what have you) or on the server end? Id like the site to take in separated headers and footers from various other files to help remove redundant code and ease maintenance. Some sort of small template engine would do the trick. Can anyone point me in the correct direction?