For example, to read from yaml front matter this list:
tags: ["a", "b"]
It works to use in index.json:
"tags":
{{- with .Params.tags -}}
{{ delimit . ", " | jsonify }}
{{- else -}}
""
{{- end -}}
Result:
"tags":"a, b"
My attempt to read:
technologies: [["a1", "b1", "c1"], ["a2", "b2", "c2"]]
with:
"technologies":
{{- with .Params.technologies -}}
{{range . }}
{{ delimit . ", " }}
{{end}}
{{- else -}}
""
{{- end -}}
Gives:
"technologies":
a1, b1, c1
a2, b2, c2
I would be satisfied with:
"technologies": "a1, b1, c1, a2, b2, c2"
Wrapping in another range gave gibberish numbers between the lines.
Any hints are welcomed!