Welcome to mirror list, hosted at ThFree Co, Russian Federation.

terms.html « _default « layouts - gitlab.com/VincentTam/huginn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6c2638cfec630c29eacf9450b03078b25d051bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{{ define "main" }}
<header>
  <h1>
    {{- .Title -}}
  </h1>
</header>
<div class="taxonomy">
    {{ $data := .Data }}
    {{- range $key, $value := .Data.Terms -}}
        <a class="label label-info" href="/{{ $data.Plural }}/{{ $key | urlize }}">{{ $key }} ({{ len $value }})</a>
    {{ end }}
</div>
{{ end }}