40 lines
1.1 KiB
Cheetah
40 lines
1.1 KiB
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>
|
|
<address>
|
|
{{.Author}}
|
|
</address>
|
|
<div>
|
|
<b>Extrait:</b>
|
|
<blockquote>{{.ShortText}}</blockquote>
|
|
</div>
|
|
<footer>
|
|
<p>Publié le:<time datetime="{{.Date}}">{{.Date}}</Time></p>
|
|
</footer>
|
|
</article>
|
|
{{ end }}
|
|
</body>
|
|
</html> |