terms.html 507 Bytes
Newer Older
GitLab's avatar
GitLab committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{ define "main" }}
  {{ $data := .Data }}
  <div class="container" role="main">
    <article class="post-preview">
      <div class="list-group col-lg-4 col-lg-offset-4 col-md-6 col-md-offset-3">
      {{ range $key, $value := .Data.Terms.ByCount }}
      <a href="{{ $.Site.LanguagePrefix }}/{{ $data.Plural }}/{{ $value.Name | urlize }}" class="list-group-item">
          {{ $value.Name }}<span class="badge">{{ $value.Count }}</span></a>
      {{ end }}
      </div>
    </article>
  </div>
{{ end }}