- <div> currenPageName:${currentPage.name} </div>
<div data-sly-test="${wcmode.edit}">This message is only shown in edit mode</div>
<div data-sly-test.mode="${wcmmode.edit || wcmmode.design}"> This message is shown in edit and design mode </div><div data-sly-test="${!mode}">This message can be shown for other than edit and design modes</div>
<div data-sly-text="${currentPage.title}">Default Title</div>
- <ul data-sly-list.childpage="${currentPage.listChildren}"><li>${childpage.path}</li><li>${childpage.title}</li></ul>
- <ul data-sly-list.childpage="${currentPage.listChildren}"><li class="${childpageList.odd ? 'odd' :'even'}"></li></ul>
- <div data-sly-resource="${ @path='par' , resourceType='foundation/components/parsys'}"></div>
- <footer data-sly-resource="${@path='usercomponent' , resourceType='project/usercomponent'}"></footer>
- ${pageProperties.jcr:title || properties.title || "No Title"}
- <div data-sly-include="{index.html or any index.jsp}"></div>