Render blog posts data

pull/1/head
Nikita Tokarchuk 3 years ago
parent d6905b0d15
commit b0d49ffe3b
Signed by: mainnika
GPG Key ID: A595FB7E3E56911C
  1. 7
      frontend/templates/blog.go.tmpl

@ -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>

Loading…
Cancel
Save