<table class="container">
<tr>
<td>
<table class="row">
<tr>
<td class="wrapper last">
<table class="twelve columns">
<tr>
<td>
<h1>Hi, Susan Calvin</h1>
This is what it takes to greet a recipient in an HTML email created using Zurb Ink. And it gets progressively worse. Here's a button, for example:
<table class="button">
<tr>
<td>
<a href="#">Button Label</a>
</td>
</tr>
</table>
What we have here is around 20 different events that users can subscribe to in order to receive HTML email notifications. Plus, there are (at least for now) two languages this notifications can be sent in. Multiply the two and voilà -- forty distinct template files with massive duplications.
Now, I don't really want anybody here to go insane over this mess, so is my question:
Is there any kind of "meta-framework", which would remove all the duplicated and extraneous markup? I fantasize about preparing HTML email template markup using Bootstrap and then compile it down to Zurb Ink. Or a high-level HTML-like DSL that would then get compiled to Zurb Ink...
<div class="container">
<div class="row">
<div class="twelve columns">
<a href="#" class="button" />
..or anything else that would simplify our lives.