Ok, avec titre pour chacun
This commit is contained in:
16
html/entry.tmpl
Normal file
16
html/entry.tmpl
Normal 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>
|
Reference in New Issue
Block a user