all repos — honk @ 8bbde5f9fd7dba1567b32b7ca738c4d67a626b08

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>