Files
slump-x-land-studio/templates/newsletter/email.html
T

20 lines
1.8 KiB
HTML

<!doctype html>
<html lang="en">
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>{{ campaign.subject }}</title></head>
<body style="margin:0;background:#f0f3f7;color:#182338;font-family:Arial,sans-serif">
{% if campaign.preheader %}<div style="display:none;max-height:0;overflow:hidden">{{ campaign.preheader }}</div>{% endif %}
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f0f3f7">
<tr><td align="center" style="padding:24px 10px">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;background:#fff">
<tr><td style="background:#121623;color:#fff;padding:20px 24px;font-size:16px;font-weight:bold;letter-spacing:.08em">SLUMP <span style="color:#ffdd00">X</span> LAND · STUDIO DISPATCH</td></tr>
<tr><td style="padding:22px 24px;font-size:16px;line-height:1.55">
{% if test %}<p style="color:#59687d;font-size:13px">Test preview</p>{% endif %}
<h1 style="font-size:30px;line-height:1.12;margin:0 0 20px">{{ campaign.subject }}</h1>
{{ campaign.body|linebreaks }}
{% if campaign.link_url %}<p><a href="{{ campaign.link_url }}" style="display:inline-block;background:#ffdd00;color:#121623;padding:10px 17px;border-radius:4px;font-weight:bold;text-decoration:none">{{ campaign.link_label }}</a></p>{% endif %}
</td></tr>
<tr><td style="padding:16px 24px;background:#e8edf4;font-size:13px;line-height:1.45">
<strong>SLUMP X LAND</strong><br>{{ address|linebreaksbr }}{% if unsubscribe_url %}<p style="margin-bottom:0">You opted in to SLX updates. <a href="{{ unsubscribe_url }}" style="color:#125998">Unsubscribe</a></p>{% elif test %}<p style="margin-bottom:0">Live issues include a personal unsubscribe link.</p>{% endif %}
</td></tr></table></td></tr></table>
</body></html>