Last active
February 1, 2024 18:09
-
-
Save kevinweber/4aa2317286de43b7ba6f0714262c481a to your computer and use it in GitHub Desktop.
Revisions
-
kevinweber revised this gist
Dec 22, 2016 . No changes.There are no files selected for viewing
-
kevinweber revised this gist
Jul 8, 2016 . No changes.There are no files selected for viewing
-
kevinweber created this gist
Jul 1, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ <!--/* We can define a list within a Sightly template to avoid redundant code */--> <sly data-sly-test.versions="${['desktop', 'mobile']}"/> <sly data-sly-list.identifier="${versions}"> <div class="element ${identifier}">Repeated content</div> </sly> 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ <div class="element desktop">Repeated content</div> <div class="element mobile">Repeated content</div>