Created
February 26, 2015 16:30
-
-
Save jonsatrom/f395fd4cf1ac006c6889 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
<ul class='col' id='support-awardees'> | |
{% for awardee in artists %} | |
{% ifchanged awardee.get_year %} | |
<li class='divider'><h2 class='support-awardee-year'>{{ awardee.get_year }}</h2></li> | |
{% endifchanged %} | |
<li class='awardee-pic'> | |
<div class='awardee-title'> | |
{{ awardee.name }}{% if awardee.title %}, <span style='font-style:italic'>{{ awardee.title }}</span>{% endif %} | |
{% if awardee.subhead %}<BR> {{ awardee.subhead }}{% endif %} | |
</div> | |
<a href='{{ awardee.get_absolute_url }}'> | |
{% thumbnail awardee.bio_image "160x160" crop='center' colorspace="GRAY" as img %} | |
<img src='{{ img.url }}' border='0' alt="{{ awardee.name }} profile picture"> | |
{% empty %} | |
<img src='/static/img/default.png' border='0' alt="Default profile picture"> | |
{% endthumbnail %} | |
</a> | |
</li> | |
{% endfor %} | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment