Created
February 7, 2016 19:23
-
-
Save yupadhyay/3198704b7ba7b4ccc9bf to your computer and use it in GitHub Desktop.
Iterate through fixed set of list Sightly
This file contains hidden or 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
#Fixed Array | |
<ul data-sly-list="${ [1,2,3,4] }"> | |
<li>${item}</li> | |
</ul> | |
#List page children | |
<ul data-sly-list.child="${currentPage.listChildren}"> | |
<li>${child.title}</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment