Created
July 13, 2011 11:49
-
-
Save brianwebb01/1080161 to your computer and use it in GitHub Desktop.
Wigwam CMS relationships example Liquid code.
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 school in custom_modules.schools.records %} | |
<h1>{{ school.name }}</h1> | |
<p>{{ school.description }}</p> | |
<p><b>Students:</b></p> | |
<ul> | |
{% for student in school.students %} | |
<li>{{ student.name }}</li> | |
{% endfor %} | |
</ul> | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment