+{% spaceless %}
+<style type="text/css">.sponsors-page a{background-image:url({{ page.sprite.url }});}</style>
<div class="sponsors-page">
{% for column in sponsors %}
<div class="sponsors-column">
<p class="sponsors-column-name">{{ column.name|default:" " }}</p>
- <div class='sponsors'>
- {% for sponsor in column.sponsors %}
- {% if sponsor.url %}<a href="{{ sponsor.url }}" title="{{ sponsor.description }}" >{% endif %}
- <img src="{{ sponsor.logo.thumbnail }}" alt="{{ sponsor.name }}"/>
- {% if sponsor.url %}</a>{% endif %}
+ <div class='sponsor-logos'>
+ {% for offset, sponsor in column.sponsors %}
+ <a href="{{ sponsor.url }}" title="{{ sponsor.description }}" style='background-position: 0px {{ offset }}px;'></a>
{% endfor %}
</div>
</div>
{% endfor %}
<div style="clear: both"></div>
-</div>
\ No newline at end of file
+</div>
+{% endspaceless %}