mirror of
https://github.com/mainnika/nikita-tokarch-uk.git
synced 2026-05-25 01:03:35 +00:00
Render latests posts content on index template
This commit is contained in:
@@ -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>
|
||||||
Reference in New Issue
Block a user