This repository contains the responsive email newsletter designs for MOD.
We've designed our email newsletters using MJML so that we can focus on how they look rather than making them work on all of the email clients.
To generate the HTML from the .mjml
templates, install the MJML command line tools, and then run:
$ mjml mod-newsletter.mjml -o mod-newsletter.html
That should output a corresponding HTML file: mod-newsletter.html
There are a few little hacks that are needed to get the Campaign Monitor tags working nicely. Here is the post-processing work needed.
- Fix the empty
<repeater></repeater>
tags that are generated next to each other rather than an open tag at the start and a close tag at the end. - Add
editable
to the hero, feature image, and read me button<img />
tag so that our team can edit them if need be.