path_to

Description

Return the link to a given page or a content entry if the content entry owns a templatized page. The page is identified by its handle.

This tag requires Wagon 1.3+ and LocomotiveCMS 2.4+

Syntax

{% path_to <object_or_page_handle> %}

Example

The path to my about us page: {% path_to about-us %}

outputs

The path to my about us page: /path/to/about-us
© 2024 LocomotiveCMS Terms of use Privacy Policy
Back to top