Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Support for ERB Templates #33

Open
AliSoftware opened this issue Sep 24, 2017 · 0 comments
Open

Support for ERB Templates #33

AliSoftware opened this issue Sep 24, 2017 · 0 comments

Comments

@AliSoftware
Copy link
Collaborator

ERB is a great and powerful templating language for Ruby.

By the time we decided to migrate gyro so it uses templates, we didn't know about ERB, but if we knew back in the day I think we'd have chosen ERB over Liquid (the templating engine gyro currently supports/uses).

But ERB would very probably allow us to have way more readable templates than Liquid, better handling of extra spaces/CRLF generated, and are more flexible, so that should probably be the step forward.

Note: Once this is done, we could still support Liquid as a templating engine in the future, since we already did all the work, and thus support both Liquid and ERB, but I think the built-in templates should then still favour ERB for readability and clarity

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

No branches or pull requests

2 participants