In my current project, my work is only with html and css (HTML skinning). There are many pages which have repeated sections like Header, footer, sharing links etc.<
You can use Jade - node template engine
It gives option to include external jade files, where in it allows you to insert the contents of one jade file into another
doctype html
html
include ./includes/head.jade
body
h1 My Site
p Welcome to my super lame site.
include ./includes/foot.jade
//- includes/head.jade
title My Site
script(src='/javascripts/jquery.js')
script(src='/javascripts/app.js')
//- includes/foot.jade
#footer
p Copyright (c) foobar
My Site
My Site
Welcome to my super lame site.