get_root
(alt='_primary'
)The tree only has one root record but it can come in different Alternatives. This method can be used to target the root page of a specific one. If no alt is provided, then the primary alt is loaded.
{% set root = site.get_root(alt='de') %} <a href="{{ root|url }}">Go to German Page</a>
Comments