metrc-1.0.x-dev/templates/metrc-badge.html.twig
templates/metrc-badge.html.twig
{#
/**
* @file
*
* Available variables:
* - raw_badge: Array of data about the badge straight from the metrc API.
* - image: Badge image.
* - name: The name of the badge.
*
* @ingroup themeable
*/
#}
{%- set attributes = attributes.addClass('metrc-badge') %}
<figure{{ attributes }}>
{{ image }}
<figcaption>{{ name }}</figcaption>
</figure>
