Update the experience page to use company details from sculpin_site.yml

This commit is contained in:
Oliver Davies 2016-02-06 13:52:24 +00:00
parent b0d92abec0
commit 17388ecb9c
2 changed files with 31 additions and 30 deletions

View file

@ -10,7 +10,7 @@ author:
role: Lead Drupal Developer role: Lead Drupal Developer
name: CTI Digital name: CTI Digital
website: https://www.ctidigital.com website: https://www.ctidigital.com
logo: cti-digital.png
twitter: twitter:
url: http://twitter.com/opdavies url: http://twitter.com/opdavies
name: opdavies name: opdavies
@ -79,19 +79,26 @@ availability:
no: <i class="fa fa-thumbs-o-down text-danger"></i> Not availabile for weekend/evening freelance work no: <i class="fa fa-thumbs-o-down text-danger"></i> Not availabile for weekend/evening freelance work
companies: companies:
freelance:
title: Freelance
horse_country: horse_country:
title: 'Horse & Country TV' title: 'Horse & Country TV'
logo: horse-and-country.jpg
website: http://www.horseandcountry.tv
zooba: zooba:
title: Zooba Ltd title: Zooba Ltd
proctors: proctors:
title: 'Proctor & Stevenson' title: 'Proctor & Stevenson'
website: http://www.proctors.co.uk website: http://www.proctors.co.uk
logo: proctors.jpg
nomensa: nomensa:
title: Nomensa title: Nomensa
website: http://www.nomensa.com website: http://www.nomensa.com
logo: nomensa.png
precedent: precedent:
title: Precedent title: Precedent
website: http://precedent.com website: http://precedent.com
logo: precedent.jpg
trent: trent:
title: Trent Design title: Trent Design
website: http://www.trentdesign.net website: http://www.trentdesign.net
@ -101,6 +108,12 @@ companies:
drupal_association: drupal_association:
title: Drupal Association title: Drupal Association
website: https://assoc.drupal.org website: https://assoc.drupal.org
logo: drupal-association.png
microserve: microserve:
title: Microserve title: Microserve
website: https://microserve.io website: https://microserve.io
logo: microserve.png
cti:
title: CTI Digital
website: https://www.ctidigital.com
logo: cti-digital.png

View file

@ -3,15 +3,13 @@ layout: default
title: Experience title: Experience
nav: experience nav: experience
experiences: experiences:
- name: CTI Digital - company: cti
website: https://www.ctidigital.com
logo: cti-digital.png
role: Lead Drupal Developer role: Lead Drupal Developer
location: Remote location: Remote
start: November 2015 start: November 2015
end: ~ end: ~
- name: Freelance - company: freelance
location: Remote location: Remote
role: 'Drupal/PHP Developer & System Administrator' role: 'Drupal/PHP Developer & System Administrator'
start: 2007 start: 2007
@ -20,10 +18,8 @@ experiences:
<p>Working on Drupal and PHP projects in my spare time.</p> <p>Working on Drupal and PHP projects in my spare time.</p>
<p>Linux server administration and configuration using Puppet, and more recently, Ansible.</p> <p>Linux server administration and configuration using Puppet, and more recently, Ansible.</p>
- name: Microserve - company: microserve
website: https://microserve.io
location: Bristol, England location: Bristol, England
logo: microserve.png
role: Senior Drupal Developer role: Senior Drupal Developer
start: July 2015 start: July 2015
end: November 2015 end: November 2015
@ -31,9 +27,7 @@ experiences:
<p>Full-stack Drupal development, focussing on data migration.</p> <p>Full-stack Drupal development, focussing on data migration.</p>
<p>Community and contribution advocate.</p> <p>Community and contribution advocate.</p>
- name: Drupal Association - company: drupal_association
website: https://assoc.drupal.org
logo: drupal-association.png
role: Drupal.org Developer role: Drupal.org Developer
location: Remote location: Remote
start: 2014 start: 2014
@ -42,20 +36,16 @@ experiences:
<p>Maintaining and improving Drupal.org - the home of the Drupal community.</p> <p>Maintaining and improving Drupal.org - the home of the Drupal community.</p>
<p>Speaking at user groups and DrupalCamps to promote the Drupal Association.</p> <p>Speaking at user groups and DrupalCamps to promote the Drupal Association.</p>
- name: Precedent - company: precedent
website: http://precedent.com
location: Cardiff, Wales location: Cardiff, Wales
logo: precedent.jpg
role: Senior Drupal Developer role: Senior Drupal Developer
start: 2013 start: 2013
end: 2014 end: 2014
description: > description: >
<p>Drupal 7 website development, including site building, theming, module development, data migration and server configuration.</p> <p>Drupal 7 website development, including site building, theming, module development, data migration and server configuration.</p>
- name: Nomensa - company: nomensa
website: http://www.nomensa.com
location: Bristol, England location: Bristol, England
logo: nomensa.png
role: 'Contract Drupal Developer / Application Developer & System Administrator' role: 'Contract Drupal Developer / Application Developer & System Administrator'
start: 2012 start: 2012
end: 2013 end: 2013
@ -63,20 +53,16 @@ experiences:
<p>Drupal 7 website development and Linux server administration.</p> <p>Drupal 7 website development and Linux server administration.</p>
<p>I originally started as a contractor, and later took a staff role.</p> <p>I originally started as a contractor, and later took a staff role.</p>
- name: 'Proctor & Stevenson' - company: proctors
website: http://www.proctors.co.uk
location: Bristol, England location: Bristol, England
logo: proctors.jpg
role: 'PHP Developer' role: 'PHP Developer'
start: 2011 start: 2011
end: 2012 end: 2012
description: > description: >
<p>Website development, mainly with Drupal and PHP, including the agencys first Drupal 7 project.</p> <p>Website development, mainly with Drupal and PHP, including the agencys first Drupal 7 project.</p>
- name: 'Horse & Country TV' - company: horse_country
website: http://www.horseandcountry.tv
location: Cwmbran, Wales location: Cwmbran, Wales
logo: horse-and-country.jpg
role: Web Developer role: Web Developer
start: 2010 start: 2010
end: 2011 end: 2011
@ -88,17 +74,19 @@ experiences:
{% for experiences in page.experiences|batch(2) %} {% for experiences in page.experiences|batch(2) %}
<div class="row"> <div class="row">
{% for experience in experiences %} {% for experience in experiences %}
<div class="experience col-md-6"> {% set company = site.companies[experience.company] %}
<h2>{{ experience.name }}</h2>
{% if experience.logo %} <div class="experience col-md-6">
<img class="experience--logo" src="{{ site.images_url }}/assets/images/experience/{{ experience.logo }}" alt="{{ experience.name }} logo"> <h2>{{ company.title }}</h2>
{% if company.logo %}
<img class="experience--logo" src="{{ site.images_url }}/assets/images/experience/{{ company.logo }}" alt="{{ company.title }} logo">
{% endif %} {% endif %}
{% if experience.website %} {% if company.website %}
<div> <div>
<a href="{{ experience.website }}"> <a href="{{ company.website }}">
{{ experience.website }} {{ company.website }}
</a> </a>
</div> </div>
{% endif %} {% endif %}