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
Is your feature request related to a problem? Please describe.
I realize that virtual templates are currently supported for standard files and for layouts, but it seems that they don't otherwise work for files under the includes directory - i.e., any attempt to {% include %} a virtual template fails to find it.
Describe the solution you'd like
I'd like to be able to define virtual templates via addTemplate with file paths under the includes directory, and have template engines pick them up. (I'm using Liquid but realize this might have applicability across multiple engines...)
Describe alternatives you've considered
I attempted to pass { templates: ... } through setLiquidOptions instead, but that didn't seem to work, either. I'm not sure if I'm misunderstanding that feature or if it has side effects though.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I realize that virtual templates are currently supported for standard files and for layouts, but it seems that they don't otherwise work for files under the includes directory - i.e., any attempt to
{% include %}
a virtual template fails to find it.Describe the solution you'd like
I'd like to be able to define virtual templates via
addTemplate
with file paths under the includes directory, and have template engines pick them up. (I'm using Liquid but realize this might have applicability across multiple engines...)Describe alternatives you've considered
I attempted to pass
{ templates: ... }
throughsetLiquidOptions
instead, but that didn't seem to work, either. I'm not sure if I'm misunderstanding that feature or if it has side effects though.Additional context
No response
The text was updated successfully, but these errors were encountered: