honk/views/onts.html

17 lines
305 B
HTML

{{ template "header.html" . }}
<main>
<div class="info">
<p>ontologies of interest
{{ $letter := 0 }}
<ul>
{{ range .Onts }}
{{ if not (eq $letter (index .Name 0)) }}
{{ $letter = (index .Name 0) }}
<li><p>
{{ end }}
<a href="/o/{{ .Name }}">#{{ .Name }}</a> ({{ .Count }})
{{ end }}
</ul>
</div>
</main>