Assemble engine plugin for Liquid (liquid-node) templates.
npm install assemble-liquid> 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:
``bash`
npm install assemble-liquid --save-dev
Modify your assemble-options in your Gruntfile so that assemble uses assemble-liquid as the engine.
`html ``
grunt.initConfig({
// ...
assemble: {
options: {
// ...
engine: "assemble-liquid"
},
site: {
files: [{
expand: true,
cwd: 'src/templates/pages',
src: ['*/.liquid'],
dest: '<%= site.destination %>/'
}]
},
},
// ...
}
- Assemble's partials are not supported yet.
Marcel Jackwerth
+ http://twitter.com/sirlantis
+ http://github.com/sirlantis
Copyright 2013 Marcel Jackwerth