Does anyone have an example of building a content inventory of all pages and resources on their website?
Basically, everything embedded on and linked to on site pages and posts.
Media, files, etc.
There isn’t a Hugo-specific way to do content inventory, unless the content is kept in a data file or front matter parameter that I know of. I am not sure how bundles will work.
For instance, I keep my images and other files in a different place than my text content, and just link to them. There isn’t an easy way to scrap the content for those assets and list them out, though I suppose I could be really creative and use other tools to do so.
If assets are kept in
static, then you can just list out those directories and there you have it, though not what links to them outside the aforementioned data files and front matter.