Different behavior of path/url with sightly
Hi, I am working with sightly in a template that has a link to redirect to the parent page, I can access the path of the parent wit this: currentPage.parent.path, this give me the complete path of the parent.
But also I need that with a extension .html in author environment (wcmmode enabled and disabled), and with a / in production.
How can I do that? Its possible with sightly or I should look a SlingModel solution?
Thank you in advance