-
Notifications
You must be signed in to change notification settings - Fork 314
Closed
Description
While migrating from a NodeJS-based project to a Rust-based project I found Tera as a template-engine, it was ment to be my introduction project to learn Rust.
As I separate my program and the used templates, I wanted to pass a relative path of some upper folder, but Tera did not find them. After some investigation (and local experiments to change globwalk with glob, which did not work due to unsupported syntax having curly-braces "examples/basic/templates/**/*.{html, xml}"), I found out that it only is an issue for path that point to the current or upper-level folders.
Globwalk does not work for paths starting with./ or ../, there is already an issue open at the other project: Gilnaa/globwalk#28
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels