You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 14, 2024. It is now read-only.
twing-loader does not seem to support interpolation when used in an include statement
This works {% include "./test.twig" %}
This does not work {% set filename = "test" %} {% include "/#{filename}.twig" %}
Regular interpolation in a paragraph string does work however so I believe it's related to order of operations. This is the error I receive in storybook.
TwingErrorLoader: Template "/test.twig" is not defined in "C:/Users/dango/Development/twigbook/components/Example/Example.twig" at line 7.