{%- assign trustpilot = site.data.review.trustpilot -%} {%- if trustpilot -%}

{{trustpilot.title}}

{{trustpilot.description}}

{%- if trustpilot.reviews -%}
{% assign rated_value = trustpilot.rated | plus: 0 %} {% if rated_value > 4 %}
Rated {{ trustpilot.rated }} /5 based on {{ trustpilot.numberOfReviews }}+ reviews. Showing our latest reviews,
{% else %} {% endif %}
{%- else -%}

Review us on

{%- endif -%}
{%- endif -%}