Skip to content

Commit

Permalink
Update 4-Configuration.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Oct 21, 2023
1 parent c048224 commit 866cf65
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions docs/4-Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,21 @@ languages:
```
:::info
The language code is used to define the path to pages in a different language of the default one (e.g.: `/fr/a-propos/`).
The language code is used to prefix the path of others languages pages (e.g.: `/fr/a-propos/`).
You can check [locales code page](configuration/locale-codes.md) if needed.
:::

You can also prefix the path of the main language pages with the following option:

```yaml
#language: <code>
language:
code: <code>
prefix: true
```

:::info
A list of [locales code](configuration/locale-codes.md) is available.
An alias is automatically created for the home page that redirect from `/` to `/<code>/`.
:::

#### Localize configuration options
Expand Down

0 comments on commit 866cf65

Please sign in to comment.