Added images_url

This commit is contained in:
Oliver Davies 2016-01-11 00:40:53 +00:00
parent f4aaae0112
commit 18300b2470
5 changed files with 6 additions and 5 deletions

View file

@ -2,5 +2,6 @@
imports:
- sculpin_site.yml
url: https://www.oliverdavies.uk
images_url: //images.oliverdavies.uk
short_url: oliverdavies.uk
google_analytics_tracking_id: UA-11967257-1

View file

@ -4,7 +4,7 @@
{% for meetup in site.meetups %}
<li class="meetup__{{ meetup.name|lower|replace({ ' ': '-' }) }}">
<a href="{{ meetup.url }}" title="{{ meetup.name }}">
<img src="/assets/images/meetups/{{ meetup.logo }}" alt="{{ meetup.name }}">
<img src="{{ site.images_url }}/assets/images/meetups/{{ meetup.logo }}" alt="{{ meetup.name }}">
</a>
</li>
{% endfor %}

View file

@ -69,11 +69,11 @@
{% block sidebar %}
<div class="panel panel--badges">
<a class="panel--badges--badge__da-member" href="https://assoc.drupal.org/membership" title="Im a Drupal Association member.">
<img src="{{ site.url }}/assets/images/da-individual-member.png" alt="Drupal Association Individual Member">
<img src="{{ site.images_url }}/assets/images/da-individual-member.png" alt="Drupal Association Individual Member">
</a>
<a href="https://www.drupal.org/8">
<img alt="I built Drupal 8 with hand holding a wrench on blue background" src="{{ site.url }}/assets/images/drupal-8.jpg"/>
<img alt="I built Drupal 8 with hand holding a wrench on blue background" src="{{ site.images_url }}/assets/images/drupal-8.jpg"/>
</a>
</div>

View file

@ -92,7 +92,7 @@ experiences:
<h2>{{ experience.name }}</h2>
{% if experience.logo %}
<img class="experience--logo" src="/assets/images/experience/{{ experience.logo }}" alt="{{ experience.name }} logo">
<img class="experience--logo" src="{{ site.images_url }}/assets/images/experience/{{ experience.logo }}" alt="{{ experience.name }} logo">
{% endif %}
{% if experience.website %}

View file

@ -26,7 +26,7 @@ tools:
---
# About Me
<img src="{{ site.url }}/assets/images/me-precedent.jpg" alt="Picture of Oliver" class="img-circle">
<img src="{{ site.images_url }}/assets/images/me-precedent.jpg" alt="Picture of Oliver" class="img-circle">
My name is Oliver Davies (aka [opdavies](https://www.google.com/#q=opdavies)), Im a Web Developer and Drupal specialist based in Wales, UK.