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

Different template engine #83

Open
iilyak opened this issue Jul 25, 2018 · 2 comments
Open

Different template engine #83

iilyak opened this issue Jul 25, 2018 · 2 comments

Comments

@iilyak
Copy link

iilyak commented Jul 25, 2018

Is there any benefit of replacing go templates with https://github.com/flosch/pongo2?

  • Would it be easier for non go developers?
  • Is it hard to plug in?
  • Is it in a long term vision for alfred to support multiple template engines (or replace current one)?
@kcmerrill
Copy link
Owner

kcmerrill commented Jul 25, 2018 via email

@kcmerrill
Copy link
Owner

pongo2 doesn't play as nice with structs as I'd hope, so because it's not using the same interface to translate it's a bit trickier.

It's an interesting idea. I'd like to continue support for the stdlib go template engine, but would be a nice to have if it can support multiple.

Let me chew on this.

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