views/onts.html (view raw)
1{{ template "header.html" . }}
2<main>
3<div class="info">
4<p>ontologies of interest
5{{ $firstrune := .FirstRune }}
6{{ $letter := 0 }}
7<ul>
8{{ range .Onts }}
9{{ if not (eq $letter (call $firstrune .Name)) }}
10{{ $letter = (call $firstrune .Name) }}
11<li><p>
12{{ end }}
13<span style="white-space: nowrap;"><a href="/o/{{ .Name }}">#{{ .Name }}</a> ({{ .Count }})</span>
14{{ end }}
15</ul>
16</div>
17</main>