2 ms·
My https://github.com/fiatjaf/react-site https://github.com/fiatjaf/react-site is imperative instead of declarative, maybe that will suit you. By that I mean y
by fiatjaf 9y ago
My https://github.com/fiatjaf/react-site https://github.com/fiatjaf/react-site is imperative instead of declarative, maybe that will suit you.
By that I mean you write generator script[1] and use the helper functions `listFiles`, `generatePage` and `copyStatic` to generate the pages you want with the template/configuration you want at the path you want. That means you can render content not only markdown files, but any source whatsoever, and combine the sources in any way you like.
[1]: https://github.com/fiatjaf/levypla/blob/1407b110228387e4a4b764c35439328ce4c4181b/generate.js#L4 https://github.com/fiatjaf/levypla/blob/1407b110228387e4a4b7...