all repos — honk @ 44171e9dfbec511dff779d0367eae635725f48ee

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>