Created
May 4, 2013 10:53
-
-
Save ryanburnette/5517138 to your computer and use it in GitHub Desktop.
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
{% for i in (1..number_of_slides) %} | |
{% capture slide_enabled %}slideshow_{{ i }}_active{% endcapture %} | |
{% capture slide_image %}slideshow_{{ i }}.jpg{% endcapture %} | |
{% capture slide_image_alt %}slideshow_{{ i }}_alt{% endcapture %} | |
{% capture slide_link %}image_{{ i }}_link{% endcapture %} | |
{% if settings[slide_enabled] %} | |
<li class="slide"><img src="{{ slide_image | asset_url }}" data-url="{{ settings[slide_link] }}" alt="{{ settings[slide_image_alt] }}" class="slide-img" /></li> | |
{% endif %} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment