all repos — honk @ 39e6ef1762c09867f2ea792e693318caf8e34206

my fork of honk

views/onts.html (view raw)

 1{{ template "header.html" . }}
 2<main>
 3<div class="info">
 4<p>ontologies of interest
 5{{ $firstrune := .FirstRune }}
 6<ul>
 7<li><p>
 8{{ range .Pops }}
 9<span class="wsnowrap"><a href="/o/{{ .Name }}">#{{ .Name }}</a> ({{ .Count }})</span>
10{{ end }}
11{{ $letter := 0 }}
12{{ range .Onts }}
13{{ if not (eq $letter (call $firstrune .Name)) }}
14{{ $letter = (call $firstrune .Name) }}
15<li><p>
16{{ end }}
17<span class="wsnowrap"><a href="/o/{{ .Name }}">#{{ .Name }}</a> ({{ .Count }})</span>
18{{ end }}
19</ul>
20</div>
21</main>