-
Porting some jinja templates, I was using `include` to conditionally including partials (specifically for repeated snippets) that looked something like this:
```
{% include 'creds-'~provider~'…
-
Simply starting a template file with a single `{` character (e.g a JSON file) causes the AST and code to be empty:
```
[] …
-
I hit this when upgrading from ffc74a17 to 8bda0d64. I haven't had time to dig in yet, (will try and set aside some time tomorrow if you haven't magically fixed it by then), but I thought I'd give you…
-
I had a child template start with this (a typo of `extends` as `extend`)
```
{% extend "path/to/file.j2" %}
```
then the generated coded ended up with an empty `render_to` block. More generall…
-
If I'm reading [expr_attr] correctly, then it doesn't support recursive productions, such as `obj.x.y.z`.
I've tried to extend `expr_attr` to support this using [fold_many0!]. Alas, I had a bunch o…
-
> Custom derive macros can not be exported together with other items, so you have to depend on a separate crate for it.
They can actually. If you are okay requiring Rust >=1.15 to compile askama, y…
-
From IRC:
> **\** I'm trying to build a little proof of concept using macros 1.1, with syn
> **\** but so far, having some problems getting it to run
> **\** anyone has experience with this stuff…
-
[Askama](https://github.com/djc/askama) has a Cargo workspace with multiple crates in it. Previously, all of the crates just referenced each other by path. However, last night I published them to crat…
-
How feasible would it be to support generic template types?
```
{{ t }}
```
```rust
#[derive(Template)]
#[template(path = "test")]
struct Test {
t: T,
}
```
```
error[E0243]: wro…
-
## Ideas:
- https://www.reddit.com/r/rust/comments/4ewsg6/introducing_tera_a_template_engine_in_rust/d250nro
## Inspiration:
- https://playframework.com/documentation/2.4.x/ScalaTemplates declares typ…
Keats updated
7 years ago