life-report/report.tmpl

23 lines
503 B
Cheetah

<!DOCTYPE html>
<html>
<head>
<title>life report.</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<div id="wrap">
<h1>Ep. {{.Num}}: {{.Month}}</h1>
{{if .Summary}}<p>{{.Summary}}</p>{{end}}
{{range .Sections}}<h2>My {{.Title}}</h2>
{{if .Summary}}
{{range .Summary}}<p>{{.}}</p>{{end}}
{{end}}
{{if .Details}}<ul>
{{range .Details}}<li>{{.}}</li>{{end}}
</ul>{{end}}
<hr />
{{end}}
</div>
</body>
</html>