mirror of
https://github.com/getzola/zola
synced 2024-11-10 06:14:19 +00:00
Update documentation for multilingual use of taxonomies (#2157)
This commit is contained in:
parent
4e81dfb86b
commit
ef45bb78b0
1 changed files with 13 additions and 12 deletions
|
@ -90,19 +90,20 @@ taxonomies = [
|
||||||
**Example 2:** (multilingual site)
|
**Example 2:** (multilingual site)
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
|
# These taxonomies go in the main section
|
||||||
taxonomies = [
|
taxonomies = [
|
||||||
{name = "director", feed = true, lang = "fr"},
|
{name = "director", feed = true},
|
||||||
{name = "director", feed = true, lang = "eo"},
|
{name = "genres", feed = true},
|
||||||
{name = "director", feed = true, lang = "en"},
|
{name = "awards", feed = true},
|
||||||
{name = "genres", feed = true, lang = "fr"},
|
{name = "release-year", feed = true},
|
||||||
{name = "genres", feed = true, lang = "eo"},
|
]
|
||||||
{name = "genres", feed = true, lang = "en"},
|
|
||||||
{name = "awards", feed = true, lang = "fr"},
|
[languages.fr]
|
||||||
{name = "awards", feed = true, lang = "eo"},
|
taxonomies = [
|
||||||
{name = "awards", feed = true, lang = "en"},
|
{name = "director", feed = true},
|
||||||
{name = "release-year", feed = true, lang = "fr"},
|
{name = "genres", feed = true},
|
||||||
{name = "release-year", feed = true, lang = "eo"},
|
{name = "awards", feed = true},
|
||||||
{name = "release-year", feed = true, lang = "en"},
|
{name = "release-year", feed = true},
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue