Adjust post.html to take a dict

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
2024-06-16 19:35:07 -07:00
parent df22cb2b87
commit b1d4dd7a32
7 changed files with 12 additions and 12 deletions

View File

@@ -11,7 +11,7 @@
<ul class="post-list">
{{ range $pages }}
{{ partial "post.html" . }}
{{ partial "post.html" (dict "page" .) }}
{{ end }}
</ul>
{{ end }}