Created
February 1, 2015 22:59
-
-
Save toodooleedoo/1405fd37c0722699330c to your computer and use it in GitHub Desktop.
AEM Sightly Sitemap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template data-sly-template.sitemap="${ @ page}"> | |
<ul data-sly-list="${page.listChildren}"> | |
<li>${item.title}<span data-sly-call="${sitemap @ page=item}"></span> | |
</li> | |
</ul> | |
</template> | |
<span data-sly-call="${sitemap @ page=currentPage}"></span> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment