pongo2
pongo2 copied to clipboard
Additional condition for length of array or string
Hello. Is it possible to do something like this in pongo2?
{% if array|length > 0 -%} where array is a list of structs which can be empty.