Standardise on CSS and image locations

This commit is contained in:
Oliver Davies 2015-12-02 08:19:36 +00:00
parent 3518826f5b
commit 2a4fa95b19
38 changed files with 12 additions and 12 deletions

View file

@ -8,7 +8,7 @@
# Location of the theme's resources.
sass_dir = "sass"
css_dir = "source/css"
css_dir = "source/assets/css"
images_dir = "source/assets/images"
generated_images_dir = images_dir + "/generated"
javascripts_dir = "source/js"

View file

@ -18,7 +18,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ site.url }}/css/oliverdavies.css">
<link rel="stylesheet" href="{{ site.url }}/assets/css/oliverdavies.css">
<link rel="stylesheet" href="{{ site.url }}/components/highlightjs/styles/{{ site.hightlightjs_style }}.css">
<link rel="stylesheet" href="{{ site.url }}/components/font-awesome/css/font-awesome.min.css">
{% block styles %}{% endblock %}

View file

@ -35,7 +35,7 @@
{% if page.image %}
<div class="project--image">
<img src="/images/projects/{{ page.image }}" alt="The {{ page.title }} website.">
<img src="/assets/images/projects/{{ page.image }}" alt="The {{ page.title }} website.">
</div>
{% endif %}
{% endblock %}

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

View file

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View file

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

View file

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View file

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

View file

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View file

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

View file

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

View file

Before

Width:  |  Height:  |  Size: 950 KiB

After

Width:  |  Height:  |  Size: 950 KiB

View file

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

View file

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View file

Before

Width:  |  Height:  |  Size: 460 KiB

After

Width:  |  Height:  |  Size: 460 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View file

Before

Width:  |  Height:  |  Size: 4.9 MiB

After

Width:  |  Height:  |  Size: 4.9 MiB

View file

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

View file

Before

Width:  |  Height:  |  Size: 943 KiB

After

Width:  |  Height:  |  Size: 943 KiB

View file

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

View file

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.8 MiB

View file

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View file

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View file

Before

Width:  |  Height:  |  Size: 2.9 MiB

After

Width:  |  Height:  |  Size: 2.9 MiB

View file

Before

Width:  |  Height:  |  Size: 2 MiB

After

Width:  |  Height:  |  Size: 2 MiB

View file

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View file

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View file

Before

Width:  |  Height:  |  Size: 135 KiB

After

Width:  |  Height:  |  Size: 135 KiB

View file

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

View file

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View file

@ -5,7 +5,7 @@ nav: experience
experiences:
- name: CTI Digital
webite: https://www.ctidigital.com
logo: /images/experience/cti-digital.png
logo: cti-digital.png
role: Lead Drupal Developer
location: Remote
start: November 2015
@ -23,7 +23,7 @@ experiences:
- name: Microserve
website: https://microserve.io
location: Bristol, England
logo: /images/experience/microserve.png
logo: microserve.png
role: Senior Drupal Developer
start: July 2015
end: November 2015
@ -33,7 +33,7 @@ experiences:
- name: Drupal Association
website: https://assoc.drupal.org
logo: /images/experience/drupal-association.png
logo: drupal-association.png
role: Drupal.org Developer
location: Remote
start: 2014
@ -45,7 +45,7 @@ experiences:
- name: Precedent
website: http://precedent.com
location: Cardiff, Wales
logo: /images/experience/precedent.jpg
logo: precedent.jpg
role: Senior Drupal Developer
start: 2013
end: 2014
@ -55,7 +55,7 @@ experiences:
- name: Nomensa
website: http://www.nomensa.com
location: Bristol, England
logo: /images/experience/nomensa.png
logo: nomensa.png
role: 'Contract Drupal Developer / Application Developer & System Administrator'
start: 2012
end: 2013
@ -66,7 +66,7 @@ experiences:
- name: 'Proctor & Stevenson'
website: http://www.proctors.co.uk
location: Bristol, England
logo: /images/experience/proctors.jpg
logo: proctors.jpg
role: 'PHP Developer'
start: 2011
end: 2012
@ -76,7 +76,7 @@ experiences:
- name: 'Horse & Country TV'
website: http://www.horseandcountry.tv
location: Cwmbran, Wales
logo: /images/experience/horse-and-country.jpg
logo: horse-and-country.jpg
role: Web Developer
start: 2010
end: 2011
@ -92,7 +92,7 @@ experiences:
<h2>{{ experience.name }}</h2>
{% if experience.logo %}
<img class="experience--logo" src="{{ experience.logo }}" alt="{{ experience.name }} logo">
<img class="experience--logo" src="/assets/images/experience/{{ experience.logo }}" alt="{{ experience.name }} logo">
{% endif %}
{% if experience.website %}

View file

@ -99,7 +99,7 @@ testimonials:
<h2 class="testimonial__name">{{ testimonial.name }}</h2>
{% if testimonial.image %}
<img class="testimonial__image" src="{{ site.url }}/images/testimonials/{{ testimonial.image }}" alt="{{ testimonial.name }}"/>
<img class="testimonial__image" src="{{ site.url }}/assets/images/testimonials/{{ testimonial.image }}" alt="{{ testimonial.name }}"/>
{% endif %}
{% if testimonial.role and company.name is not defined %}