You are here

svg-formatter.html.twig in SVG Formatter 8

{% if inline %}
  {{ svg_data|raw }}
{% else %}
  <img{{ attributes }} src={{ file_url(uri) }} />
{% endif %}

File

templates/svg-formatter.html.twig
View source
  1. {% if inline %}
  2. {{ svg_data|raw }}
  3. {% else %}
  4. <img{{ attributes }} src={{ file_url(uri) }} />
  5. {% endif %}