all repos — navani @ master

forlater's primary mail processing service

templates/html.tpl (view raw)

 1<!DOCTYPE html>
 2<html lang="en" xmlns="https://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office">
 3<head>
 4    <meta charset="utf-8">
 5    <meta name="viewport" content="width=device-width,initial-scale=1">
 6    <meta name="x-apple-disable-message-reformatting">
 7    <!--[if !mso]><!-->
 8    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
 9    <!--<![endif]-->
10    <title></title>
11    <!--[if mso]>
12    <style type="text/css">
13        table {border-collapse:collapse;border-spacing:0;margin:0;}
14        div, td {padding:0;}
15        div {margin:0 !important;}
16    </style>
17    <noscript>
18    <xml>
19        <o:OfficeDocumentSettings>
20            <o:PixelsPerInch>96</o:PixelsPerInch>
21        </o:OfficeDocumentSettings>
22    </xml>
23    </noscript>
24    <![endif]-->
25    <style>
26    img {
27      max-width: 100%;
28    }
29    </style>
30</head>
31<body style="margin:0;padding:0;word-spacing:normal;background-color:#ffffff;">
32    <div role="article" aria-roledescription="email" lang="en" style="-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;background-color:#ffffff;display:block;">
33        <table width="100%" align="center" border="0" cellpadding="0" cellspacing="0" role="presentation">
34            <tr>
35                <td align="left">
36                  <!--[if mso]>
37                    <table role="presentation" align="center" style="width:660px;">
38                    <tr>
39                    <td style="padding:20px 0;">
40                  <![endif]-->
41                  <div class="outer" style="width:96%;max-width:660px;margin:20px auto;font-family: sans-serif;">
42                    <em>original link</em>: <a href="{{ .URL }}">{{ .URL }}</a>
43                    <h1>
44                      {{ .Title }}
45                    </h1>
46                    <h2>
47                      {{ .Byline }}
48                    </h2>
49                    <hr>
50                    {{ .Content }}
51                  </div>
52                  <!--[if mso]>
53                    </td>
54                    </tr>
55                    </table>
56                  <![endif]-->
57                </td>
58            </tr>
59        </table>
60    </div>
61</body>
62</html>