all repos — navani @ 8fa6f8f5661a8f116048e75a54e07db69e3f8f7a

forlater's primary mail processing service

templates/html.tpl (view raw)

 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 2<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
 3<head>
 4  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 5  <meta name="viewport" content="width=device-width, initial-scale=1.0">
 6  <meta name="x-apple-disable-message-reformatting">
 7  
 8  <style type="text/css">
 9    img, video {
10       align: center;
11       object-fit: cover;
12       width: 400px;
13       height: 200px;
14    }
15
16    body {
17      margin: 0;
18      padding: 0;
19      max-width: 640px;
20    }
21    a[x-apple-data-detectors='true'] {
22      color: inherit !important;
23      text-decoration: none !important;
24    }
25
26    .page {
27        font-family: serif;
28    }
29  </style>
30</head>
31
32<body>
33  <em>original link</em>: <a href="{{ .URL }}">{{ .URL }}</a>
34  <h1>
35    {{ .Title }}
36  </h1>
37  <h2>
38    {{ .Byline }}
39  </h2>
40  <hr>
41  {{ .Content }}
42</body>
43
44</html>