Vincent Prouillet
Vincent Prouillet
> Where should we start? :) I'll try to have a look tonight to outline the changes required.
The issue is that https://github.com/Keats/tera/blob/master/src/template.rs#L53-L73 does not look recursively in other nodes for blocks so when rendering, it tries to look up the block definition and doesn't find it. The...
No timeline for v2 yet, it will depend on what ends up being used for the data layer (maybe https://github.com/tokio-rs/valuable, maybe something else custom so we don't depend on serde_json...
Includes in Tera are a bit dumb. I pretty much never use them myself in both Tera and Jinja2 except for some very basic templates so I didn't bother implementing...
In practice you're the first person asking for it in 5 years so it might not be that common. Tera is not a re-implementation of Jinja in Rust, I wouldn't...
You need to give more details, but I guess you could set a variable in the block?
Hmm I would probably just `set` some variable at a higher level but this kind of API won't be supported in Tera.
It hasn't been ignored though? Just that it will be merged for a future major version as it's breaking imo. When a behaviour is specifically indicated in the docs, changing...
The usecases in the docs look like something that should be done before rendering the templates no? Having all the posts when rendering each post for example is going to...
> Would having just the posts' metadata for rendering each post be very heavy? Probably not useful to have all site content available everywhere, but it'd be nice to render...