summaryrefslogtreecommitdiffstats
path: root/docs/content/templates/taxonomy-templates.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/templates/taxonomy-templates.md')
-rw-r--r--docs/content/templates/taxonomy-templates.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/templates/taxonomy-templates.md b/docs/content/templates/taxonomy-templates.md
index 6e5b6c40f..5cb0f3346 100644
--- a/docs/content/templates/taxonomy-templates.md
+++ b/docs/content/templates/taxonomy-templates.md
@@ -143,7 +143,7 @@ Taxonomies can be ordered by either alphabetical key or by the number of content
```
<ul>
{{ $data := .Data }}
- {{ range $key, $value := .Data.Taxonomy.Alphabetical }}
+ {{ range $key, $value := .Data.Terms.Alphabetical }}
<li><a href="{{ $.Site.LanguagePrefix }}/{{ $data.Plural }}/{{ $value.Name | urlize }}"> {{ $value.Name }} </a> {{ $value.Count }} </li>
{{ end }}
</ul>
@@ -154,7 +154,7 @@ Taxonomies can be ordered by either alphabetical key or by the number of content
```
<ul>
{{ $data := .Data }}
- {{ range $key, $value := .Data.Taxonomy.ByCount }}
+ {{ range $key, $value := .Data.Terms.ByCount }}
<li><a href="{{ $.Site.LanguagePrefix }}/{{ $data.Plural }}/{{ $value.Name | urlize }}"> {{ $value.Name }} </a> {{ $value.Count }} </li>
{{ end }}
</ul>