This commit is contained in:
parent
27d9563c6b
commit
a91b709bfc
|
@ -63,6 +63,13 @@ When the navigation has several domains, you can specify the domain:
|
|||
{% set url = safe_node_url(node, {_domain: _domain}) %}
|
||||
```
|
||||
|
||||
## Code functions
|
||||
|
||||
* Generates a URL using codes: `{{ code_url(menuCode, nodeCode, options, relative) }}`
|
||||
* Generates a path using codes: `{{ code_path(menuCode, nodeCode, options, relative) }}`
|
||||
* Generates a URL using codes and catches all exceptions: `{{ safe_code_url(menuCode, nodeCode, options, relative) }}`
|
||||
* Generates a path using codes and catches all exceptions: `{{ safe_code_path(menuCode, nodeCode, options, relative) }}`
|
||||
|
||||
### Filters
|
||||
|
||||
When a content could contains tags (eg: '{{url://my_route}}`), use `murph_url`. This the example below:
|
||||
|
|
Loading…
Reference in a new issue