diff options
Diffstat (limited to 'layouts/taxonomy.html')
| -rw-r--r-- | layouts/taxonomy.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/layouts/taxonomy.html b/layouts/taxonomy.html index ef791e8..61810d2 100644 --- a/layouts/taxonomy.html +++ b/layouts/taxonomy.html @@ -1,19 +1,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> +{{- $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 }} |