@en Don’t know the first thing about Hugo, but an SSG like Jigsaw lets you iterate over a, say, posts collection _before_ actually generating any HTML. And, hopefully, run a regex on each post’s body, the outcome of which you could save to a flat file (or keep in memory), and then loop through, adapting only the posts that need updated. I also noticed a reader mention webmentions: that’s literally what I do. My blog sends itself webmentions, the exact way it sends ’em to other sites.
@en (That is, if it works.)
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!