particle icon indicating copy to clipboard operation
particle copied to clipboard

Inline SVG breaks drupal

Open thamas opened this issue 5 years ago • 0 comments
trafficstars

The documentation suggests:

{% include '@atoms/image/_svg.twig' with { svgpath: '@atoms/icon/svg/file.svg', } %}

It works well in PL but it breaks Drupal.

The logo is set in the same way in the branding component, but in Drupal a preprocess function is used to set the assets path. So I think is a known problem which has no general solution yet?

thamas avatar May 08 '20 19:05 thamas