turbo.fish uses MiniJinja #379
jplatte
started this conversation in
Show and tell
Replies: 1 comment 3 replies
-
@jplatte - thanks for sharing. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you are looking for a simple real-world HTTP server application that dynamically inserts user content into HTML with MiniJinja, the source code for turbo.fish might be useful to you.
In particular,
routes.rs
contains axum route handlers that use the MiniJinja environment from router state to render different templates (compiled into the program for easy deploying).Beta Was this translation helpful? Give feedback.
All reactions