honk/views/onts.html

18 lines
382 B
HTML
Raw Normal View History

2019-08-28 03:43:38 +02:00
{{ template "header.html" . }}
<main>
<div class="info">
<p>ontologies of interest
2022-05-20 18:30:01 +02:00
{{ $firstrune := .FirstRune }}
2019-10-13 07:58:01 +02:00
{{ $letter := 0 }}
<ul>
2019-08-28 03:43:38 +02:00
{{ range .Onts }}
2022-05-20 18:30:01 +02:00
{{ if not (eq $letter (call $firstrune .Name)) }}
{{ $letter = (call $firstrune .Name) }}
2019-10-13 07:58:01 +02:00
<li><p>
2019-08-28 03:43:38 +02:00
{{ end }}
<span class="wsnowrap"><a href="/o/{{ .Name }}">#{{ .Name }}</a> ({{ .Count }})</span>
2019-10-13 07:58:01 +02:00
{{ end }}
</ul>
2019-08-28 03:43:38 +02:00
</div>
</main>