Moved images
This commit is contained in:
parent
f5b911837b
commit
9301c080f3
|
@ -102,6 +102,10 @@ testimonials:
|
||||||
<article class="testimonial">
|
<article class="testimonial">
|
||||||
<h2 class="testimonial__name">{{ testimonial.name }}</h2>
|
<h2 class="testimonial__name">{{ testimonial.name }}</h2>
|
||||||
|
|
||||||
|
{% if testimonial.image %}
|
||||||
|
<img class="testimonial__image" src="{{ site.url }}/images/testimonials/{{ testimonial.image }}" alt="{{ testimonial.name }}"/>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if testimonial.role and not company.name %}
|
{% if testimonial.role and not company.name %}
|
||||||
<p class="lead">
|
<p class="lead">
|
||||||
{{ testimonial.role }}
|
{{ testimonial.role }}
|
||||||
|
@ -117,10 +121,6 @@ testimonials:
|
||||||
</p>
|
</p>
|
||||||
{% endspaceless %}{% endif %}
|
{% endspaceless %}{% endif %}
|
||||||
|
|
||||||
{% if testimonial.image %}
|
|
||||||
<img class="testimonial__image" src="{{ site.url }}/images/testimonials/{{ testimonial.image }}" alt="{{ testimonial.name }}"/>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{{ testimonial.text|raw }}
|
{{ testimonial.text|raw }}
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Reference in a new issue