I've been using Pelican¹ with m.css², it does math, sitemaps, RSS feeds, code, graphs and a lot other things very nicely for me. Other blog platforms are far from as powerful, what I've tried, with so little hassle.
[1]: https://docs.getpelican.com/
[2]: https://mcss.mosra.cz/