You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository currently provides Nunjucks templates for JavaScript projects. It would be useful to also provide Jinja templates to support Python projects.
The syntax is identical and I have successfully copy & pasted the Nunjucks template into a Python Flask app. The question is how best to support this setup in a maintainable way? Ideally a pip package like govuk-frontend-jinja is to govuk-frontend would be provided.
The text was updated successfully, but these errors were encountered:
Thanks @markhobson! We'd talked internally about how we might want to handle other templating languages but we didn't expect it to come up quite so quickly in reality. This is on our roadmap to investigate more in the future, so the suggestion of the pip package is much appreciated.
This repository currently provides Nunjucks templates for JavaScript projects. It would be useful to also provide Jinja templates to support Python projects.
The syntax is identical and I have successfully copy & pasted the Nunjucks template into a Python Flask app. The question is how best to support this setup in a maintainable way? Ideally a pip package like govuk-frontend-jinja is to govuk-frontend would be provided.
The text was updated successfully, but these errors were encountered: