Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline SVG breaks drupal #809

Open
thamas opened this issue May 8, 2020 · 0 comments
Open

Inline SVG breaks drupal #809

thamas opened this issue May 8, 2020 · 0 comments

Comments

@thamas
Copy link

thamas commented May 8, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant