In HTL (HTML Template Language), the syntax to manipulate the URI path does not provide direct methods for removing selectors. However, within Sling and HTL, the Link Handler can be extended to support such operations. For out-of-the-box HTL, the proper approach to manipulate the link would be done in the Java layer (e.g., a Sling Model or a Use-Class in HTL), and then passed to the template for rendering. Nevertheless, if such a functionality were to be implemented within HTL, it would require custom code and not use the indicated syntax options. It is important to note that options A and B with 'removeSelectors' are not standard HTL syntax.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit