Can anyone help?
[
{
"item_number": 1,
"tipe_series":
[
"Google",
"Pixel 7 Pro"
]
},
{
"item_number": 2,
"tipe_series":
[
"Google",
"Pixel 6a"
]
}
]
Error description
> can’t evaluate field tipe_series in type []interface {}
My Shortcodes
{{ range $index, $item := .Site.Data.mobile.google }}
{{ range .tipe_series }}
{{.}}
{{ end}}
{{ end }}
Result
[Google Pixel 7 Pro Google Pixel 6a]
which should
- Google Pixel 7 Pro
- Google Pixel 6a