Results 1383 comments of Vincent Prouillet

Yes but why not load all of them in one instance and just extend `"template"`? What I meant by `Do you need to differentiate the origin?` is can you have...

I can't reproduce the template issue in https://tera.netlify.app/playground/ and the Rust code seems fine?

I believe Tera could handle it and this is just an issue at the parser level. I was waiting for pest3 for some parser improvements but it seems like this...

Not possible currently. Includes should preserve indentation though

That would be porting https://jinja.palletsprojects.com/en/3.0.x/templates/#jinja-filters.indent

https://github.com/Keats/tera/issues/624

I'll close the other one, the duplicate tag was a mistake anyway

It's something that would be nice but is a breaking change. Probably for the next version.

I don't know about `ResourceMap` but if it's created outside of Tera, you can just impl the TeraFn trait on it. That's how I pass things in Zola: https://github.com/getzola/zola/blob/master/components/templates/src/global_fns/mod.rs#L24-L46

> If I read that right, you still have to pass the lang argument to the function, right? Yes. Passing the context automatically is going to be a feature of...