Render latests posts content on index template

This commit is contained in:
2021-12-03 04:17:06 +01:00
parent 58c55e4659
commit d6905b0d15
+11
View File
@@ -24,5 +24,16 @@
</section> </section>
<section id="this-is-blog" class="root-container blog-container">
<!-- render posts -->
<div class="posts-container">
{{ range .Posts }}
{{ template "post.go.tmpl" . }}
{{ end }}
</div>
</section>
</body> </body>
</html> </html>