Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No easy way to pass the output of a single simplate page through a filter #28

Open
Changaco opened this issue Sep 8, 2016 · 0 comments

Comments

@Changaco
Copy link
Member

Changaco commented Sep 8, 2016

In Liberapay we have a jinja2_html_jswrapped renderer, it could be nice to be able to replace it with something like via jinja2 | jswrap in the simplate. jswrap would be a simple function, either defined/imported in the simplate's first page, or registered globally like renderers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant