Hey @flosh,
I've been maintaining a fork of pongo2 for a few years now. I just rebased on v7.0.0-alpha1 and pushed my changes here.
I didn't create pull requests as I'm not sure if you're interested in Jinja support, and many of these commits are for Jinja features and syntax (multiple filter arguments, Jinja filter argument syntax, tests like {{ 42 is even }}, dict literals, etc).
Some of the improvements might be useful to regular users of pongo2 even without the Jinja features, though... notably:
There are also some changes that make pongo2 more useful outside of the context of HTML (like Ansible's use of Jinja templates).
If you're interested in any/all of these changes, I'd be happy to create pull requests.
I've also written a number of Jinja2- and Ansible-compatible filters in a separate repo. If you're interested in merging any of those, I'd be willing to port them over as well.
Hey @flosh,
I've been maintaining a fork of pongo2 for a few years now. I just rebased on v7.0.0-alpha1 and pushed my changes here.
I didn't create pull requests as I'm not sure if you're interested in Jinja support, and many of these commits are for Jinja features and syntax (multiple filter arguments, Jinja filter argument syntax, tests like {{ 42 is even }}, dict literals, etc).
Some of the improvements might be useful to regular users of pongo2 even without the Jinja features, though... notably:
There are also some changes that make pongo2 more useful outside of the context of HTML (like Ansible's use of Jinja templates).
If you're interested in any/all of these changes, I'd be happy to create pull requests.
I've also written a number of Jinja2- and Ansible-compatible filters in a separate repo. If you're interested in merging any of those, I'd be willing to port them over as well.