Maudit is a library (not a framework) to build static websites. What this means is that a Maudit website is a normal Rust project, pages are normal Rust structs and so on.
There's a built-in function one can use that will do pages -> HTML as expected, or one can run quite literally `SomePage.build()` to build a single page.
While there are some obvious downsides in complexity on the user side, I'm hoping that this model allows people to grow past some of the limitations that traditional SSG frameworks have, where it can be hard sometimes to customise certain aspects.
It's still super early, but feedback is extremely welcome. Hope you'll like it!
sureglymop•4mo ago
One question before I dive in: If one wants to create a blog, how much is already provided by Maudit to make generating RSS feed easier? Or would I have to hand roll that part?
Princesseuh•4mo ago
At this time there's no built-in way to generate RSS feeds, you'd need to use a "Endpoint" route and return a .xml from it: https://maudit.org/docs/routing/#endpoints.
It's pretty straightforward, but it does require some manual work. Crates like `rss_gen` can help making the generation easier, though
sureglymop•4mo ago
Will try generating a feed when I get the chance/more time, thanks for the crate suggestion.
Princesseuh•4mo ago