Emailplate is a email template engine designed to make inline css html with your familiar template engine, css preprocessor.
$ npm install emailplate
var Emailplate = ;var emailplate =views: __dirname + '/emailplates';emailplate;
views option set where the template theme directory is.
The default theme layout have three files: html., style.stylus, emailplate.json
emailplates `-- blueprint |-- emailplate.json |-- html.hbs `-- style.styl
emailplate support most template engine that consolidate.js supported
We use stylus because it can support css, sass, less basic syntax. It is robust.
We need some information about the theme setting.
var Emailplate =emailplate = ;
Get all themes info
Get single theme info
Copyright (c) 2013 Jarvis Ao Ieong
Licensed under the MIT license.