From 3eeb34691043b9b9855e462154fe9d0fd9b33abe Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 2 Jul 2015 07:33:58 +0100 Subject: [PATCH] Small fixes * Added James Chapman's title * Only show the role and company if they have been entered. * Filter spaces --- source/testimonials.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source/testimonials.md b/source/testimonials.md index 384db228..d82488d1 100644 --- a/source/testimonials.md +++ b/source/testimonials.md @@ -30,6 +30,7 @@ testimonials:

Oliver is seasoned Drupal and all round highly skilled and experienced web developer. I have worked with Oliver on an important project where he was reliable, prompt and ensured strict client deadline delivery and confidentiality at all times.

- name: James Chapman + role: Director company: Development Done Right url: http://www.developmentdoneright.co.uk text: > @@ -59,6 +60,10 @@ testimonials: {% for testimonial in page.testimonials|reverse|slice(0,5) %}

{{ testimonial.name }}

-

{{ testimonial.role }} at {{ testimonial.company }}

- {{ testimonial.text | raw }} + + {% if testimonial.role or testimonial.company %} +

{{ testimonial.role }} at {{ testimonial.company }}

+ {% endif %} + + {{ testimonial.text|raw }} {% endfor %}