We are using handlebar in AEM. We are passing the AEM authored data as a context to the handlebar template. It works fine. In the AEM component dialog, we have a link field that has a path starting with /content/<appname>
.When I render this component with handlebar.hbs file, the link is not getting shortened, but when we put this component on the HTML page, Apache resource resolver configuration comes into the picture, and shortens the URL as per the URL mapping defined. I know we can use the resource resolver .map() function map the shorten the URL in the data but I would like to know if there any other way we can fix to shortened the URLs while using the handlebar?