Skip to content

Instantly share code, notes, and snippets.

@jackmccloy
Created April 7, 2016 14:47
Show Gist options
  • Save jackmccloy/ae47533232cc7ac85afed94dc4da227f to your computer and use it in GitHub Desktop.
Save jackmccloy/ae47533232cc7ac85afed94dc4da227f to your computer and use it in GitHub Desktop.
{% load staticfiles %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ title }}</title>
{% block styles %}
{% include 'mail/elements/styles.html' %}
{% endblock styles %}
</head>
<body style="margin: 0; padding: 0">
<center>
{% block preheader %}
{% include 'mail/elements/preheader.html' %}
{% endblock preheader %}
{% block header_logo %}
{% include 'mail/elements/header_logo.html' %}
{% endblock header_logo %}
<table class="container" width="576" cellpadding="0" cellspacing="0" style="-ms-text-size-adjust:none;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:none;color:#444444;font-family:'Lato','Lucida Sans','Lucida Grande',SegoeUI,'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:24px;text-align:left;">
{% block body %}
{% endblock body %}
</table>
<br>
<br>
{% block footer %}
{% include 'mail/elements/footer.html' %}
{% endblock footer %}
<br>
<br>
<br>
<br>
<br>
{% block email_preferences %}
{% include 'mail/elements/email_preferences.html' %}
{% endblock email_preferences %}
</center>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment