all repos — honk @ 5d8298cf3ac70bf4a47e7be4882c5c997dad25d8

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>