Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mjmlio/email-templates
A collection of email templates coded in MJML
https://github.com/mjmlio/email-templates
email email-template mjml responsive-email
Last synced: 1 day ago
JSON representation
A collection of email templates coded in MJML
- Host: GitHub
- URL: https://github.com/mjmlio/email-templates
- Owner: mjmlio
- Created: 2017-02-21T14:51:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-15T13:59:12.000Z (about 1 year ago)
- Last Synced: 2024-04-14T23:57:01.008Z (7 months ago)
- Topics: email, email-template, mjml, responsive-email
- Language: JavaScript
- Size: 4.37 MB
- Stars: 146
- Watchers: 16
- Forks: 59
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-email-marketing - Email templates
README
# email-templates
A collection of responsive email templates coded in MJML and available on [mjml.io/templates](https://mjml.io/templates).
## Fixing a template
Some of those templates could do with a good clean and we truly appreciate help. If you see any error
in a template or a way to enhance a template, feel free to submit a pull-request with your changes.## Submitting a template
We love showcasing our community's work! If you want to have your template featured on the website,
feel free to submit your own MJML template (with a `.mjml` file extension) as a pull-request in this repo.## Compiling templates to HTML
You can render all templates at once by using the `-w` command (just make sure to first create the folder where you want the HTML files to be created).
```
mkdir templates/html
mjml -w ./templates/*.mjml -o ./templates/html/
```## Generating thumbnails
You can automatically generate thumbnails for the templates in the `templates` folder (requires Node v7.9.0).
```
yarn install
yarn thumbnails
```