{#
/**
 * @file
 * Default theme implementation to display a formatted responsive image field.
 *
 * Available variables:
 * - responsive_image: A collection of responsive image data.
 * - url: An optional URL the image can be linked to.
 *
 * @see \Drupal\responsive_image\Hook\ResponsiveImageThemeHooks::preprocessResponsiveImageFormatter()
 *
 * @ingroup themeable
 */
#}
{% if url %}
  {{ link(responsive_image, url) }}
{% else %}
  {{ responsive_image }}
{% endif %}
