Skip to content

Email Template Generator. Generate responsive, maintainable & unified templates for Sendgrid, Mandrill, etc. Using SASS, Pug and common layout.

License

Notifications You must be signed in to change notification settings

dhilipsiva/email-template-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Template Generator

Email Template Generator. Generate responsive, maintainable & unified templates for Sendgrid, Mandrill, etc. Using SASS, Pug and common layout.

Email Template Generator

Usage

  1. Fork / Clone this repo
  2. Go to repo directory, and type npm install
  3. Create your pug templates in source/pug/private (this is git ignored directory). You can use SAMPLE.pug that is found in the same folder for reference
  4. To make style changes, modify source/scss/variables.scss (or any together files in that directory)
  5. To make layout changes, modify sources/pug/layout.pug
  6. Finally, you need to run node generate.js to generate your templates (Will be found at dist 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.

References

  1. SASS & node-sass
  2. Pug
  3. Inky
  4. Cheerio
  5. Minify
  6. Juice

Thanks

leemunroe/responsive-html-email-template

About

Email Template Generator. Generate responsive, maintainable & unified templates for Sendgrid, Mandrill, etc. Using SASS, Pug and common layout.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published