djc / askama

Type-safe, compiled Jinja-like templates for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Composing templates

dev-ardi opened this issue · comments

commented

I haven't seen an easy way of placing one template inside of another. This is really useful for code reuse

Please provide an example of what you'd like to have because it's not very clear what you want exactly (at least to me).

Have you read the book? There is template inheritance, there are includes and macros. Seems like there are plenty of ways of composing templates to me.

commented

Thanks for pointing it out!