{% load design_system_tags wagtailcore_tags wagtailimages_tags %}
{% image value.image original as img %}

{% if value.color %}
  {% with "design-system-quote--"|concatenate:value.color as extra_classes %}
    {% design_system_quote text=value.quote author=value.author_name source=value.author_title image_url=img.url extra_classes=extra_classes %}
  {% endwith %}
{% else %}
  {% design_system_quote text=value.quote author=value.author_name source=value.author_title image_url=img.url %}
{% endif %}
