Ok, avec titre pour chacun
This commit is contained in:
18
html/index.tmpl
Normal file
18
html/index.tmpl
Normal file
@@ -0,0 +1,18 @@
|
||||
<!doctype html>
|
||||
<html lang="{{.Lang}}">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>{{.Title}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{.Title}}</h1>
|
||||
{{range .Posts}}
|
||||
<a href=/proxy/8080/post/{{ .Id }}>
|
||||
<h2>{{.Title}}</h2>
|
||||
</a>
|
||||
<p>{{.HTML}}</p>
|
||||
|
||||
{{ end }}
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user