turning index.html into a template
gulpifying
wrapping in code snagged from https://snippets.allizom.org/show/61/