Why do I keep seeing people that use #Emacs #OrgMode with an external static website generator, usually Hugo, to make a website? Is there something wrong with the org-publish subsystem that comes with org-mode? It seems to work well to me.

Or maybe there's nothing wrong per se with org-publish, but Hugo is somehow better? I can't really imagine Hugo is more extensible than org-publish, but maybe it's better in some other way?

@oantolin Hugo solves problems like cache busting my CSS that I could also solve with org-publish, but don't have to. It also lets me easily integrate org-originated content with other sources.

It feels dirty, but my attempts to replace it have felt dirtier.

@ross Integrating other sources sounds interesting! Could you elaborate a little, please?

@oantolin I had a Mastodon exporter that spat out Markdown files. I replaced that with a JSON dump, which I can turn into pages with a Hugo content adapter. When I use ox-hugo, I can seamlessly integrate the content written in Org with those other dumps.

Nothing I couldn't do from scratch in Elisp, but Hugo makes a convenient intermediate target.