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