blob: ef791e806c28b1c644de18646f2f511e6719cc62 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{{ define "main" }}
{{- $taxonomy := .Data -}}
<h1 class="title">{{ .Title }}</h1>
{{ .Content }}
<table>
<thead><tr>
<th>{{ $taxonomy.Singular | humanize }}</th>
<th>Pages</th>
</thead>
<tbody>
{{- range $taxonomy.Terms.ByCount }}
<tr>
<td><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></td>
<td>{{ .Count }}</td>
</tr>
{{- end }}
</tbody>
</table>
{{ end }}
|