honk/views/onts.html

18 lines
394 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 }}
2019-10-13 08:07:30 +02:00
<span style="white-space: nowrap;"><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>