mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-04-14 12:46:02 +00:00
Unfortunately Gmail for iOS does not respect the <style> block that desktop Gmail does. Styles are instead defined in a styles.json and can be referenced via a custom template function. Not quite as nice as CSS (e.g. link style invocation has to be repeated for every link), but still tolerable.
13 lines
231 B
HTML
13 lines
231 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{{template "title" .}}</title>
|
|
<link rel="stylesheet" href="/static/main.css">
|
|
</head>
|
|
<body>
|
|
<h1>{{template "title" .}}</h1>
|
|
|
|
{{template "body" .}}
|
|
</body>
|
|
</html>
|