mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 17:41:03 -04:00
Fix some typos
This commit is contained in:
parent
d23d8f5c42
commit
4e7e1815b7
@ -25,7 +25,7 @@ toc: true
|
|||||||
For example, the following fields would be available in `layouts/_defaults/terms.html`, depending on how you organize your [taxonomy templates][taxonomytemplates]:
|
For example, the following fields would be available in `layouts/_defaults/terms.html`, depending on how you organize your [taxonomy templates][taxonomytemplates]:
|
||||||
|
|
||||||
.Data.Singular
|
.Data.Singular
|
||||||
: The singular name of the taxonomy (e.g., `tags => `tag`)
|
: The singular name of the taxonomy (e.g., `tags => tag`)
|
||||||
|
|
||||||
.Data.Plural
|
.Data.Plural
|
||||||
: The plural name of the taxonomy (e.g., `tags => tags`)
|
: The plural name of the taxonomy (e.g., `tags => tags`)
|
||||||
@ -49,7 +49,7 @@ Note that `.Data.Terms.Alphabetical` and `.Data.Terms.ByCount` can also be rever
|
|||||||
|
|
||||||
## Use `.Site.Taxonomies` Outside of Taxonomy Templates
|
## Use `.Site.Taxonomies` Outside of Taxonomy Templates
|
||||||
|
|
||||||
The `.Site.Taxonomies` variable holds all the taxonomies defined site-wide. `.Site.Taxonomies` is a map of the taxonomy name to a list of its values (e.g., `"tags" -> ["tag1", "tag2", "tag3"]``). Each value, though, is not a string but rather a *Taxonomy variable*.
|
The `.Site.Taxonomies` variable holds all the taxonomies defined site-wide. `.Site.Taxonomies` is a map of the taxonomy name to a list of its values (e.g., `"tags" -> ["tag1", "tag2", "tag3"]`). Each value, though, is not a string but rather a *Taxonomy variable*.
|
||||||
|
|
||||||
## The `.Taxonomy` Variable
|
## The `.Taxonomy` Variable
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user