Assemble engine plugin for processing Liquid (node-liquid) templates.
From the same directory as your project's Gruntfile
and package.json
, install this plugin with the following command:
npm install assemble-liquid --save-dev
Modify your assemble
-options in your Gruntfile
so that assemble
uses assemble-liquid
as the engine.
grunt.initConfig({
// ...
assemble: {
options: {
// ...
engine: "assemble-liquid"
},
site: {
files: [{
expand: true,
cwd: 'src/templates/pages',
src: ['**/*.liquid'],
dest: '<%= site.destination %>/'
}]
},
},
// ...
}
Marcel Jackwerth
Copyright 2013 Marcel Jackwerth