Display single item from a list In sightly
Hello Team,
The below code works fine which displays two records .
<div data-sly-list="${myModel.dummyObj @ begin = 0, end = 1}">
<a href="${item.pageURL}">${item.pageTitle}</a>
</div>
but this code is not working to display one record
<div data-sly-list="${myModel.dummyObj @ begin = 0, end = 0}">
<a href="${item.pageURL}">${item.pageTitle}</a>
</div>.
Can you please help me with how i can display one record successfully.?


