5
0
mirror of https://git.coop/cotech/website.git synced 2024-11-25 16:13:06 +00:00

Use SVG images if available on Technologies page

This commit is contained in:
Chris Croome 2018-12-30 20:12:41 +00:00
parent 9073fb58f0
commit 223a68aa9f

View File

@ -15,7 +15,7 @@
<div id="page-banner"> <div id="page-banner">
<div class="row"> <div class="row">
<div class="small-12 small-centered columns"> <div class="small-12 small-centered columns">
<img src="/images/technologies/{{ page.slug }}.png" alt=""> <img src="/images/technologies/{{ page.slug }}" alt="{{ page.name }}">
<h1>Coops that use <span>{{ page.name }}</span></h1> <h1>Coops that use <span>{{ page.name }}</span></h1>
</div> </div>
</div> </div>
@ -40,7 +40,7 @@
{% if coop.technologies contains page.slug %} {% if coop.technologies contains page.slug %}
<div class="column"> <div class="column">
<a href="{{ coop.url | relative_url }}" class="coop-thumb"> <a href="{{ coop.url | relative_url }}" class="coop-thumb">
<img src="/images/coops/{{ coop.slug }}.png" alt=""> <img src="/images/coops/{{ coop.slug }}" alt="{{ coop.name }}">
</a> </a>
</div> </div>
{% endif %} {% endif %}