frontend/templates/blocks/options.gotmpl (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | {{- define "hits" }}
<table>
<thead>
<tr>
<th scope="col">Title</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
{{- range . }}
{{- with .Data }}
<tr>
<td>
<a href="{{ .Name }}" class="open-dialog">{{ .Name }}</a>
</td>
<td>
{{ markdown (firstSentence .Description) }}
<dialog id="{{ .Name }}"></dialog>
</td>
</tr>
{{- end }}
{{- end }}
</tbody>
</table>
{{- end }}
|