diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-04-24 11:15:04 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-04-24 11:15:04 -0400 |
| commit | 544ced362819ae9bd2abd9c12480f76945b368aa (patch) | |
| tree | 84695604c33c6266a65d63759e3474c9bd87892e /layouts/taxonomy.html | |
| parent | 8dfec6a37d8adb55d500df1866901e3ee0d3c067 (diff) | |
| download | samanthony.xyz-master.zip | |
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 }} |