Fixed the templating system

This commit is contained in:
gballan committed 2022-12-07 21:51:49 -05:00
1 parent d56d0ba19a
commit e1b64766b6
6 files changed
+102 -15

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
{{ template "layout_header" . }}
<p><a href="/item/create">Create new item</a></p>
<ul>
{{ range .inventory }}
<li>{{ .name }}</li>
{{ end }}
</ul>
{{ template "layout_footer" . }}