Created
January 7, 2015 20:58
-
-
Save davidrleonard/59ecc9f12ee596df70d5 to your computer and use it in GitHub Desktop.
Jekyll/Liquid: Iterate over array in include
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
{% assign similar-speakers = 'catherine-bracy|michal-migurski' | split: '|' %} | |
<section class="layout-semibreve"> | |
{% for entries in similar-speakers %} | |
{% for speaker in entries %} | |
<div class="layout-minim">{% include people/{{ speaker }}.html context="speaker-card" base=".." %}</div> | |
{% endfor %} | |
{% endfor %} | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment