This is related to my line width query. I am seeing if I can generate plain text files with Hugo, in a similar format as
Here’s a long example, to demonstrate how the latest Mozilla blog post is saved:
The final part, where the URLs are listed at the end, that is the part that interest me. I’d like to grab all the URLs in the content and list them. Footnote-like numbering is cool, but not necessary.
I don’t know Go, but I’ve been able to stumble my way through Hugo templates okay. I haven’t used Scratch, don’t really grok it.
So I am wondering if this is possible with just Hugo (sans an external tool), and would love if someone could give me a primer on this. I suspect it has to do with matching each word with a URL regex, and creating an index, but I am honestly not sure.