The error: views: [Error (where: fromfile) in ./partials/desktop_sidebar.html | Line 21 Col 18 near './partials/desktop_sidebar.html'] unable to resolve template
main.html in ./public/layouts folder, the partial is inside another folder called partials in this folder(./partials/):
My intention is to separate the admin area templates with actual public templates, does this setup need an embedded filesystem instead of just plain location string?
Nevermind this question, dumb dumb on my part. Turns out since public is used as the root i needed to access the partial as "admin/layouts/partial/partial_name".
The error:
views: [Error (where: fromfile) in ./partials/desktop_sidebar.html | Line 21 Col 18 near './partials/desktop_sidebar.html'] unable to resolve template
main.html in ./public/layouts folder, the partial is inside another folder called partials in this folder(./partials/):
It seems that the include syntax is unsupported by pongo2 or there's something wrong with my initialization of the engine? I did it like this:
I have a public folder like this:
My intention is to separate the admin area templates with actual public templates, does this setup need an embedded filesystem instead of just plain location string?