all repos — honk @ 3ba835879b52e43cc9825f3fe6080cacd7c3272f

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>