Complete output for get_taxonomy in the documentation (#2204)
Complete the documentation for the output of the tera function `get_taxonomy` to include the `lang` and `permalink` overlooked fields. Co-authored-by: Xavier B <>
This commit is contained in:
parent
2b56bcb967
commit
7b095e4ccb
@ -172,6 +172,8 @@ The type of the output is:
|
|||||||
```ts
|
```ts
|
||||||
kind: TaxonomyConfig;
|
kind: TaxonomyConfig;
|
||||||
items: Array<TaxonomyTerm>;
|
items: Array<TaxonomyTerm>;
|
||||||
|
lang: String;
|
||||||
|
permalink: String;
|
||||||
```
|
```
|
||||||
|
|
||||||
`lang` (optional) default to `config.default_language` in config.toml
|
`lang` (optional) default to `config.default_language` in config.toml
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user