Grunt Master HTML - build html page skeleton by using master template
npm install grunt-html-masterjs
grunt.initConfig({
masterify:{
dist:{
src: 'page.html',
dest:'result.html',
options:{
beautify:true,
masters:{
master1:'master.html'
}
}
}
}
});
`
$3
`html
`
$3
`html
This is the content of header.
This is the content of the content.
This is the content of the footer
`
$3
`html
This is the content of header.
This is the content of the content.
``