comments
comments copied to clipboard
Cannot import macros template
Describe the bug
When I try to import a macro template in one of my comment templates I get an "Unable to find the template" error.
For example when I do '{% import '_macros/userInfo' as macros %}' in my header.twig template
Steps to reproduce
- Import a macro template inside a comments template
Craft CMS version
5.5
Plugin version
3.0.4
Multi-site?
No response
Additional context
No response
Like to do with how we switch template mode to resolve our templates. We handle this with includes by providing a {% commentsInclude %} and {% commentsSiteInclude %} tag, which is exactly the same as an {% include %} tag, but that's different for macros. Will look into it.