Ok, avec titre pour chacun

This commit is contained in:
Laurent Ulrich
2025-07-31 17:06:30 +02:00
parent 67700bcb42
commit 8877efaeca
7 changed files with 106 additions and 70 deletions

16
html/entry.tmpl Normal file
View File

@@ -0,0 +1,16 @@
<!doctype html>
<html lang="{{.Lang}}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>{{.Title}}</title>
</head>
<h1>{{.Title}}</h1>
<body>
<h2>{{(index .Posts 0).Title}}</h2>
<div>
{{(index .Posts 0).HTML}}
</div>
</body>
</html>