Remove use of site.github.url

We don't need to include the whole url in each page if we're
being served from the root of a domain.
This commit is contained in:
Nick Sellen
2018-11-29 16:20:30 +00:00
parent d308638462
commit cb6c07905e
12 changed files with 41 additions and 41 deletions

View File

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