Skip to content

Instantly share code, notes, and snippets.

@jonsatrom
Created February 26, 2015 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonsatrom/f395fd4cf1ac006c6889 to your computer and use it in GitHub Desktop.
Save jonsatrom/f395fd4cf1ac006c6889 to your computer and use it in GitHub Desktop.
<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