all repos — honk @ c973e951ec23543966278c98ab77892435fcce08

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>