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

Customizable templates #5

Closed
albx79 opened this issue Nov 11, 2019 · 0 comments · Fixed by #22
Closed

Customizable templates #5

albx79 opened this issue Nov 11, 2019 · 0 comments · Fixed by #22

Comments

@albx79
Copy link
Contributor

albx79 commented Nov 11, 2019

Having askama templates compiled-in during the build is super safe, but does not allow a user to provide their own templates.

We should move to a less "robust" solution, but one that interprets templates at runtime, and allow users to select their own templates via a command-line option. Some crates to look at are https://tera.netlify.com/ (Jinja2) and https://crates.io/crates/bart (Mustache).

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

Successfully merging a pull request may close this issue.

1 participant