Files
mailblog/html/index.tmpl
Laurent Ulrich 8c76f5e6f0 zz
2025-08-19 09:56:13 +02:00

39 lines
964 B
Cheetah

<!doctype html>
<html lang="{{.Lang}}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>{{.Title}}</title>
<style>
a:link {
color: black;
text-decoration: none;
}
a:visited {
color: black;
text-decoration: none;
}
a:hover {
color: orange;
text-decoration: none;
}
</style>
</head>
<body>
<h1><a href="/proxy/8080/">{{.Title}}</a></h1>
{{range .Posts}}
<article>
<h2><a href=/proxy/8080/post/{{ .Id }}>{{.Title}}</a></h2>
<div>
{{.HTML}}
</div>
<footer>
<p>
{{.Date}}
</p>
</footer>
</article>
{{ end }}
</body>
</html>