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

Feature: handlebars frontend #395

Open
djc opened this issue Dec 7, 2020 · 1 comment
Open

Feature: handlebars frontend #395

djc opened this issue Dec 7, 2020 · 1 comment

Comments

@djc
Copy link
Collaborator

djc commented Dec 7, 2020

In order to make Askama more accessible to folks used to handlebars templates (https://crates.io/crates/handlebars is likely the most Rust popular template engine), it would be awesome if Askama could parse (a sensible subset of) handlebars templates and compile/transpile it to the Askama AST, enabling people to use handlebars templates with Askama codegen.

@harishletsgo
Copy link

harishletsgo commented Dec 12, 2020

@djc Handlebars templates are more frontend based than lets say Jinja2. I'd say the functional features that Jinja offers outweighs what Handlebars does and offers. I see a direct standoff between Tera and Askama. I frankly skipped Handlebars because of its low synergy with the server side, implemented Tera but it was too slow and painful. Askama is a great improvement over what Tera could be but cannot.

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

2 participants