Add ids to sponsor images to allow linking to each sponsor's entry.
This commit is contained in:
parent
465c170e3d
commit
2e7f8259d8
1 changed files with 2 additions and 2 deletions
|
@ -2,9 +2,9 @@
|
||||||
{% spaceless %}
|
{% spaceless %}
|
||||||
<a href="{{ sponsor.external_url }}">
|
<a href="{{ sponsor.external_url }}">
|
||||||
{% if dimensions %}
|
{% if dimensions %}
|
||||||
<img src="{% thumbnail sponsor.logo dimensions %}" alt="{{ sponsor.name }}" />
|
<img id="Sponsor{{ sponsor.id }} src="{% thumbnail sponsor.logo dimensions %}" alt="{{ sponsor.name }}" />
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{% thumbnail sponsor.logo '150x150' %}" alt="{{ sponsor.name }}" />
|
<img id="Sponsor{{ sponsor.id }}" src="{% thumbnail sponsor.logo '150x150' %}" alt="{{ sponsor.name }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
{% endspaceless %}
|
{% endspaceless %}
|
||||||
|
|
Loading…
Reference in a new issue