{{- define "hits" }} <table> <thead> <tr> <th scope="col">Attribute</th> <th scope="col">Name</th> <th scope="col">Description</th> </tr> </thead> <tbody> {{- range . }} {{- with .Data }} <tr> <td> {{- with .Attribute }} <a href="{{ . }}" class="open-dialog">{{ . }}</a> {{- end }} </td> <td> {{ .Name }} </td> <td> {{ .Description }} </td> </tr> {{- end }} {{- end }} </tbody> </table> {{- end }}