forked from mirrors/hugo-tufte
Fixes #3
Urlized terms already include the type (e.g., categories or tags).
This commit is contained in:
parent
c059472c86
commit
f88858d6eb
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
||||||
{{ range $key, $value := .Data.Terms.ByCount }}
|
{{ range $key, $value := .Data.Terms.ByCount }}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href="{{ $data.Plural }}/{{ $value.Name| urlize }}">
|
<a href="{{ $value.Name| urlize }}">
|
||||||
{{ $value.Name}}
|
{{ $value.Name}}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
{{ range $key, $value := .Data.Terms.Alphabetical}}
|
{{ range $key, $value := .Data.Terms.Alphabetical}}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ $data.Plural }}/{{ $value.Name| urlize }}">
|
<td><a href="{{ $value.Name| urlize }}">
|
||||||
{{ $value.Name}}
|
{{ $value.Name}}
|
||||||
</a></td>
|
</a></td>
|
||||||
<td>{{ $value.Count }}</td>
|
<td>{{ $value.Count }}</td>
|
||||||
|
|
Loading…
Reference in a new issue