{{ $json := getJSON "data/talks.json" }} {{ $locations := slice }} {{ range $json.talks }} {{ $location := .location }} {{ if not (in $locations $location) }} {{ $locations = $locations | append $location }} {{ end }} {{ end }}
{{ range $locations }} {{ end }}
{{ range $locations }} {{ end }}