Removed empty paragraphs

This commit is contained in:
Oliver Davies 2015-07-02 08:27:29 +01:00
parent c4d2bc0806
commit 0c8ca8f8ac

View file

@ -33,18 +33,19 @@ testimonials:
role: Director role: Director
company: Development Done Right company: Development Done Right
url: http://www.developmentdoneright.co.uk url: http://www.developmentdoneright.co.uk
text: > text: <p>We used Oliver on a number of occasions throughout 2012 and I have to say we've been delighted with his work. His skills working with Drupal are excellent particularly with custom module development and we wouldn't hesitate to recommend him others.</p>
<p>We used Oliver on a number of occasions throughout 2012 and I have to say we've been delighted with his work. His skills working with Drupal are excellent particularly with custom module development and we wouldn't hesitate to recommend him others.</p>
- name: Léonie Watson - name: Léonie Watson
role: Director of Accessibility role: Director of Accessibility
company: Nomensa company: Nomensa
url: http://www.nomensa.com
text: > text: >
<p>Oliver is a flexible and hardworking developer, with a terrific knowledge of Drupal. He promotes accessibility best practice within the Drupal community, and is always happy to share his knowledge with other people.</p> <p>Oliver is a flexible and hardworking developer, with a terrific knowledge of Drupal. He promotes accessibility best practice within the Drupal community, and is always happy to share his knowledge with other people.</p>
- name: Holly Ross - name: Holly Ross
role: Executive Director role: Executive Director
company: Drupal Association company: Drupal Association
url: https://assoc.drupal.org
text: > text: >
<p>Oliver has been an outstanding contributor to the Drupal Association team. He is a talented developer who writes great code and applies his curiosity and love of learning to every project. He is also a fantastic team member, who gives to the team as much as he gets.</p> <p>Oliver has been an outstanding contributor to the Drupal Association team. He is a talented developer who writes great code and applies his curiosity and love of learning to every project. He is also a fantastic team member, who gives to the team as much as he gets.</p>
<p>Oliver is the embodiment of everything good about the Drupal community.</p> <p>Oliver is the embodiment of everything good about the Drupal community.</p>
@ -52,6 +53,7 @@ testimonials:
- name: Josh Mitchell - name: Josh Mitchell
role: CTO role: CTO
company: Drupal Association company: Drupal Association
url: https://assoc.drupal.org
text: > text: >
<p>Oliver is a skilled Drupal developer with a passion for the Drupal community. As his direct supervisor, I was able to watch Oliver grow with the Drupal Association and contribute an amazing amount of effort and integrity to all of his work.</p> <p>Oliver is a skilled Drupal developer with a passion for the Drupal community. As his direct supervisor, I was able to watch Oliver grow with the Drupal Association and contribute an amazing amount of effort and integrity to all of his work.</p>
<p>Everything we have thrown at Oliver, he has approached with an open and flexible mind that has allowed him to work on a wide range of projects and features for Drupal products.</p> <p>Everything we have thrown at Oliver, he has approached with an open and flexible mind that has allowed him to work on a wide range of projects and features for Drupal products.</p>
@ -59,19 +61,26 @@ testimonials:
{% block body_classes %}page--testimonials{% endblock %} {% block body_classes %}page--testimonials{% endblock %}
{% block content %} {% block content %}
# Testimonials <h1>Testimonials</h1>
<p>Here are some examples of the nice things that clients and former colleagues have said.</p> <p>Here are some examples of the nice things that clients and former colleagues have said.</p>
<p>You can view more recommendations on my <a href="{{ site.linkedin.url }}">LinkedIn profile</a>.</p> <p>You can view more recommendations on my <a href="{{ site.linkedin.url }}">LinkedIn profile</a>.</p>
{% for testimonial in page.testimonials|reverse|slice(0,5) %} {% for testimonial in page.testimonials|reverse|slice(0,5) %}
<h2>{{ testimonial.name }}</h2> <article class="testimonial">
<h2 class="testimonial__name">{{ testimonial.name }}</h2>
{% if testimonial.role or testimonial.company %}
<p>{{ testimonial.role }} at {{ testimonial.company }}</p> {% if testimonial.role or testimonial.company %}{% spaceless %}
{% endif %} <p>
{{ testimonial.role }} at
{{ testimonial.text|raw }} {% if testimonial.url %}<a href="{{ testimonial.url }}" title="{{ testimonial.company }}">{% endif %}
{{ testimonial.company }}
{% if testimonial.url %}</a>{% endif %}
</p>
{% endspaceless %}{% endif %}
{{ testimonial.text|raw }}
</article>
{% endfor %} {% endfor %}
{% endblock %} {% endblock %}