Keats/tera

`debug` function or filter

ctron opened this issue · 3 comments

ctron commented

Dumping a complex object prints out [object]. For debugging purposes, it would be great to have something like: {{ page | debug}}.

Maybe it's already there, I couldn't find it.

Keats commented

Not for v1, but v2 (https://github.com/Keats/tera2 if you want to try it) does display objects correctly

ctron commented

Ah, I am not using tera directly, but through zola.

Keats commented

That would have to wait until v2 is released and zola uses it then