Document get_taxonomy_url

Closes #956
This commit is contained in:
Vincent Prouillet 2020-06-18 22:50:25 +02:00
parent b30394f862
commit cb198ab597

View file

@ -190,6 +190,15 @@ Gets the whole taxonomy of a specific kind.
{% set categories = get_taxonomy(kind="categories") %} {% set categories = get_taxonomy(kind="categories") %}
``` ```
The type of the output is:
```ts
kind: TaxonomyConfig;
items: Array<TaxonomyTerm>;
```
See the [Taxonomies documentation](@/documentation/templates/taxonomies.md) for a full documentation of those types.
### `load_data` ### `load_data`
Loads data from a file or URL. Supported file types include *toml*, *json* and *csv*. Loads data from a file or URL. Supported file types include *toml*, *json* and *csv*.
Any other file type will be loaded as plain text. Any other file type will be loaded as plain text.