honk/views/onts.html

18 lines
382 B
HTML

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