Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dhilipsiva/email-template-generator
Email Template Generator. Generate responsive, maintainable & unified templates for Sendgrid, Mandrill, etc. Using SASS, Pug and common layout.
https://github.com/dhilipsiva/email-template-generator
mandrill pug sass sendgrid template template-engine templates unified-templates
Last synced: 3 months ago
JSON representation
Email Template Generator. Generate responsive, maintainable & unified templates for Sendgrid, Mandrill, etc. Using SASS, Pug and common layout.
- Host: GitHub
- URL: https://github.com/dhilipsiva/email-template-generator
- Owner: dhilipsiva
- License: mit
- Created: 2016-08-05T07:25:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-30T11:18:38.000Z (over 3 years ago)
- Last Synced: 2024-10-11T10:27:36.302Z (4 months ago)
- Topics: mandrill, pug, sass, sendgrid, template, template-engine, templates, unified-templates
- Language: CSS
- Homepage: http://dhilipsiva.com
- Size: 211 KB
- Stars: 30
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Email Template Generator
Email Template Generator. Generate responsive, maintainable & unified templates for Sendgrid, Mandrill, etc. Using SASS, Pug and common layout.
![Email Template Generator](https://raw.githubusercontent.com/dhilipsiva/email-template-generator/master/sample.png)
## Usage
1. Fork / Clone this repo
1. Go to repo directory, and type `npm install`
1. 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
1. To make style changes, modify `source/scss/variables.scss` (or any together files in that directory)
1. To make layout changes, modify `sources/pug/layout.pug`
1. 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](http://sass-lang.com/) & [node-sass](https://github.com/sass/node-sass)
1. [Pug](https://github.com/pugjs/pug)
1. [Inky](http://foundation.zurb.com/emails.html)
1. [Cheerio](http://cheerio.js.org/)
1. [Minify](https://github.com/kangax/html-minifier)
1. [Juice](https://github.com/Automattic/juice)## Thanks
[leemunroe/responsive-html-email-template](https://github.com/leemunroe/responsive-html-email-template)