Skip to content

Commit

Permalink
Update documentation for multilingual use of taxonomies (#2157)
Browse files Browse the repository at this point in the history
  • Loading branch information
lfxgroove authored Apr 2, 2023
1 parent 4e81dfb commit ef45bb7
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions docs/content/documentation/content/taxonomies.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,20 @@ taxonomies = [
**Example 2:** (multilingual site)

```toml
# These taxonomies go in the main section
taxonomies = [
{name = "director", feed = true, lang = "fr"},
{name = "director", feed = true, lang = "eo"},
{name = "director", feed = true, lang = "en"},
{name = "genres", feed = true, lang = "fr"},
{name = "genres", feed = true, lang = "eo"},
{name = "genres", feed = true, lang = "en"},
{name = "awards", feed = true, lang = "fr"},
{name = "awards", feed = true, lang = "eo"},
{name = "awards", feed = true, lang = "en"},
{name = "release-year", feed = true, lang = "fr"},
{name = "release-year", feed = true, lang = "eo"},
{name = "release-year", feed = true, lang = "en"},
{name = "director", feed = true},
{name = "genres", feed = true},
{name = "awards", feed = true},
{name = "release-year", feed = true},
]

[languages.fr]
taxonomies = [
{name = "director", feed = true},
{name = "genres", feed = true},
{name = "awards", feed = true},
{name = "release-year", feed = true},
]
```

Expand Down

0 comments on commit ef45bb7

Please sign in to comment.