15 lines
809 B
Markdown
15 lines
809 B
Markdown
# Navigation
|
||
|
||
To create a navigation, go to `Navigations` and click on `New`. Then fill the form and save.
|
||
|
||
* The `label` is the label displayed whenever necessary (eg: `Example`)
|
||
* The `locale` is the language used in the content (eg: `en`)
|
||
* The `code` is a unique technical identifier useful in templating, routing and settings (eg: `example_en`)
|
||
* The `domain` defines the main domain used to access the navigation (eg: `example.com`)
|
||
* `Additional domains` are additional domains used to access the navigation (eg: `www.example.com`). You can specify regular expression to match all that you want
|
||
|
||
If several navigations share the same domain, then the locale will by used to prefix routes.
|
||
But if a navigation uses a single domain then the local will not prefix routes.
|
||
|
||
![](/_static/img/tree/01.png)
|