My go to for static content is astro.js. It gives a really nice developer experience that is really just writing HTML but with the quality of life of reusable "components", all with 0 JS by default.
this post was submitted on 01 Jul 2023
0 points (NaN% liked)
Rust
6005 readers
3 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
Ultimately, I ended up using Astro, Rust was giving me too much pain for no tangible gain.
Try askama, it also has a crate to integrate actix-web called askama_actix. It's jinja like template engine
Can't beat askama. There are other Jinja-like templates but askama has best-in-class performance and compile time safety.