Files
mailblog/html/index.tmpl
2025-08-20 16:19:55 +02:00

23 lines
815 B
Cheetah

<!doctype html>
<html lang="{{.Lang}}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>{{.Title}}</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1 class="blogtitle"><a href="/proxy/8080/">{{.Title}}</a></h1>
{{range .Posts}}
<article class="shortpost">
<header class="shortpostheader">
<h2 class="shortposttitle"><a href=/proxy/8080/post/{{ .Id }}>{{.Title}}</a></h2>
<p class="shortpostdate"><time datetime="{{.Date}}">{{.Date}}</Time></p>
</header>
<div>
<blockquote class="shortpostcontent">{{.ShortText}}</blockquote>
</div>
</article>
{{ end }}
</body>
</html>