all repos — honk @ b5297753c0141dd5edb2fc94a8481d9ae1d727f5

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{{ $letter := 0 }}
 7<ul>
 8{{ range .Onts }}
 9{{ if not (eq $letter (call $firstrune .Name)) }}
10{{ $letter = (call $firstrune .Name) }}
11<li><p>
12{{ end }}
13<span class="wsnowrap"><a href="/o/{{ .Name }}">#{{ .Name }}</a> ({{ .Count }})</span>
14{{ end }}
15</ul>
16</div>
17</main>