Essais html

This commit is contained in:
Laurent Ulrich
2025-07-31 17:22:03 +02:00
parent 8877efaeca
commit 31476615a8

View File

@@ -8,10 +8,19 @@
<body> <body>
<h1>{{.Title}}</h1> <h1>{{.Title}}</h1>
{{range .Posts}} {{range .Posts}}
<article>
<a href=/proxy/8080/post/{{ .Id }}> <a href=/proxy/8080/post/{{ .Id }}>
<h2>{{.Title}}</h2> <h2>{{.Title}}</h2>
</a> </a>
<p>{{.HTML}}</p> <div>
{{.HTML}}
</div>
<footer>
<p>
{{.Date}}
</p>
</footer>
</article>
{{ end }} {{ end }}
</body> </body>