honk/views/onts.html

18 lines
382 B
HTML
Raw Permalink Normal View History

2023-01-28 12:03:36 +00:00
{{ template "header.html" . }}
<main>
<div class="info">
<p>ontologies of interest
{{ $firstrune := .FirstRune }}
{{ $letter := 0 }}
<ul>
{{ range .Onts }}
{{ if not (eq $letter (call $firstrune .Name)) }}
{{ $letter = (call $firstrune .Name) }}
<li><p>
{{ end }}
<span class="wsnowrap"><a href="/o/{{ .Name }}">#{{ .Name }}</a> ({{ .Count }})</span>
{{ end }}
</ul>
</div>
</main>