{#
/**
 * @file
 * Theme override for a link to a file.
 *
 * Available variables:
 * - attributes: The HTML attributes for the containing element.
 * - link: A link to the file.
 * - icon: The icon image representing the file type. This seems to be always
 *   empty.
 * - file_size: The size of the file.
 *
 * @see \Drupal\file\Hook\FileThemeHooks::preprocessFileLink()
 */
#}
{{ attach_library('claro/classy.file') }}
<span{{ attributes }}>{{ link }}{% if file_size %} <span class="file__size">({{ file_size }})</span>{% endif %}</span>
