Email Template Generator. Generate responsive, maintainable & unified templates for Sendgrid, Mandrill, etc. Using SASS, Pug and common layout.
- Fork / Clone this repo
- Go to repo directory, and type
npm install
- Create your
pug
templates insource/pug/private
(this is git ignored directory). You can useSAMPLE.pug
that is found in the same folder for reference - To make style changes, modify
source/scss/variables.scss
(or any together files in that directory) - To make layout changes, modify
sources/pug/layout.pug
- Finally, you need to run
node generate.js
to generate your templates (Will be found atdist
folder - which again, is git ignored). Now you have responsive, maintainable, inlined & beautiful templates to use with your Sendgrid, Mandrill, Mailchimp, Mailgun, etc - which will be compatible with virtually all mail clinets.