May 3, 2020
Estimated Post Reading Time ~ < 1 Min

Appending .html to the URL in Sightly

<a href="${properties.path ? '{0}.{1}' : 'Default Path'  @ format=[properties.path,'html']}" class="link">${properties.title || 'Default Title'}</a>

Or

<a href="${currentPage.path @ extension = 'html'}">${currentPage.title}</a>
aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.