grunt-html-master
build html page by using master page.
gruntfile.js
grunt;
master.html
<!-- masterify:tag header --> <!-- masterify:tag content --> <!-- masterify:tag footer -->
page.html
<!-- masterify:master master1 --><!-- /masterify --> <!-- masterify:fortag header --> This is the content of header.<!-- /masterify --> <!-- masterify:fortag content --> This is the content of the content.<!-- /masterify --> <!-- masterify:fortag footer -->This is the content of the footer<!-- /masterify -->
result.html
This is the content of header. This is the content of the content. This is the content of the footer