# Navigation ← [To the section “How the site is assembled”](README.md) Navigation is an independent tree of links to documents and custom URLs. She doesn't determines the address of the document and does not delete the document along with the item. ## Creating a menu 1. Specify a name and a short unique alias, for example `main`. 2. Customize the outer wrapper and templates of the levels used. 3. Select the groups that can be navigated. 4. Create items and arrange them by dragging and dropping. 5. Insert the `[tag:navigation:main]` tag into the template or block. By default, the first level is sufficient. The second and third levels are customizable only if the tree actually uses them. ## Items The item can link to a document or contain an arbitrary URL. When choosing document name and link are filled in automatically, after which they can be override for a specific menu. Additionally available are description, target, image, CSS ID, class and style. The image is selected through the media picker. For a regular link use `_self`, to consciously open a new tab - `_blank`. The level is determined by the position of the item in the tree. Drag changes parent, level and order; A separate numeric position field is not required for this. ## Level templates Rendering is performed in the following order: ```text Обёртка: начало Уровень 1: начало обычный или активный пункт следующий пункт Уровень 1: конец Обёртка: конец ``` `[tag:content]` is replaced with ready-made items at the beginning of the level. Without this tag items are added after the initial markup. The end of the level is always displayed after its points. Minimum first level: ```html ``` ## Nested levels The parent item template must contain the following level of tag: ```html