grunt-ect-templates
v0.3.1
Published
Static site compiler built around ect
Downloads
2
Readme
grunt-ect
Hi!
This tool generates html files from ect templates.
Getting Started
install via npm
npm install npm install git+ssh://[email protected]:shuvalov-anton/grunt-ect.git --save-dev
and in your Gruntfile.js file:
grunt.loadNpmTasks('grunt-ect');
Usage
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