I have external links on a Hugo site, that changes on a regular basis and I need to be notified immediately. All the links are defined in markdown files in the content/ directory, not in theme.
I would like to be able to extract all theses external links in a JSON format (or any structured format) when building the site, so that I can track them. I have the option to parsing all the HTML files in the public directory after rendering, but if there is a solution to do that while rendering the site with Hugo, that would be more convenient.