all repos — honk @ 520d4ed221e7eb64f999288699c7920c7b26a057

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>