Skip to content

Instantly share code, notes, and snippets.

@talha131
Created August 28, 2013 22:40
Show Gist options
  • Save talha131/6372317 to your computer and use it in GitHub Desktop.
Save talha131/6372317 to your computer and use it in GitHub Desktop.
{% if article.featuredimages %}
{% for pair in article.featuredimages.split(', ') %}
{% set pairList = loop.cycle(pair.split(':')) %}<br/>
{% for item in pairList %}
{{ item }}<br/>
{% endfor %}
{%endfor %}
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment