Static site compiler built around ect
npm install grunt-ect-templatesHi!
This tool generates html files from ect templates.
install via npm
npm install npm install git+ssh://git@github.com:shuvalov-anton/grunt-ect.git --save-dev
and in your Gruntfile.js file:
grunt.loadNpmTasks('grunt-ect');
module.exports = function (grunt) {
grunt.initConfig({
ect: {
task: {
options: {
root: 'ect-test/ect'
},
src: 'page_*.ect',
dst: 'ect-test/'
}
}
});
grunt.task.registerTask('default', 'ect');
grunt.loadNpmTasks('grunt-ect');
};
run with:
grunt ect