Render blog posts data

This commit is contained in:
2021-12-03 04:18:51 +01:00
parent d6905b0d15
commit b0d49ffe3b
+7
View File
@@ -13,6 +13,13 @@
{{ template "menu.go.tmpl" . }}
</div>
<!-- render posts -->
<div class="posts-container">
{{ range .Posts }}
{{ template "post.go.tmpl" . }}
{{ end }}
</div>
</section>
</body>