tera
tera copied to clipboard
error while importing
What is the error? Please provide additional detail. Thank you.
I assume that this is the error they're getting
* Failed to parse "\\\\?\\C:\\Users\\<user>\\RustroverProjects\\hyper-text-stitcher\\test\\templates\\base.html"
--> 21:5
|
21 | {% import "macros.html" as macros %}
| ^---
|
= unexpected tag; expected end of input, a macro definition tag (`{% macro my_macro() %}`, or some content
Edit: If this is indeed the issue they are experiencing, it's worth noting that the error occurs when macro imports are anywhere other than the top of the file.