I’ve read through this and am wondering if I can have my own somename.toml
file.
The idea is to set up a small shop section and have the items NOT be mixed in with config tables.
I tried putting a shop.toml
with [[item]]
tables in but not sure how to call it.
{{ range .Shop.item -}}
<li>{{ .Name }}</li>
{{ end }}
Just gets errors. Not sure what I’m doing wrong there.