From b3f64ceac969d75a18ec29620dd723205e87ae9a Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 14 Feb 2019 02:46:05 +0000 Subject: [PATCH] Adjust experience and testimonials styling --- source/experience.html.twig | 6 +++--- source/testimonials.html.twig | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/experience.html.twig b/source/experience.html.twig index 5540b1fc..778df05d 100644 --- a/source/experience.html.twig +++ b/source/experience.html.twig @@ -130,11 +130,11 @@ experiences: {% block content %} {% import _self as helpers %} -
+
{% for experience in page.experiences|reverse %} {% set company = site.companies[experience.company] %} -
+

{{ company.name }}

@@ -146,7 +146,7 @@ experiences: {%- endif %} -
+
{{ helpers.roleText(experience) }}
diff --git a/source/testimonials.html.twig b/source/testimonials.html.twig index 7d36626a..53ea573f 100644 --- a/source/testimonials.html.twig +++ b/source/testimonials.html.twig @@ -19,7 +19,7 @@ testimonials: role: 'Brand & Web Specialist' text: | Oliver is a great guy and really easy to work with. He really goes the extra mile to make sure the project is done properly. I would recommend him and will not hesitate to use him again in future. - + - name: Brian Hartwell role: Interactive Creative Director text: | @@ -67,9 +67,9 @@ testimonials: Oliver is an amazing colleague, he's professional, full of knowledge and I could not recommend him more. --- {% block content %} -
+
{% for testimonial in page.testimonials|reverse %} -
+
{% if testimonial.image %}
-
+

{{ testimonial.name }}

{% if testimonial.role %} -
+
{{ testimonial.role|raw }}
{% endif %}