Here’s a great article that implements reading webmentions natively in hugo. There’s always a soul out there who has tried what you’re thinking about.