I’d often wondered why it was necessary to use JavaScript to make webmentions work in Hugo. As it turns out, it’s not:
6 Likes
This is great! More people need to know about Webmentions and Indieweb.
1 Like
I now have followed up with code and an explainer:
3 Likes
Thanks for sharing.
Just added to my blog and working, I made some css modifications.
I am trying to figure out if there is other way to fetch new webmentions on every build,
If build with command = "hugo --gc --ignoreCache --minify"
no new webmentions fetched.
If build wit command = "hugo --minify --gc --ignoreCache --verbose"
new webmentions fetched.
I don’t know if this is the proper way to update json on every build.
1 Like
Truthfully, I gave up on this not long after that post and haven’t revisited the subject. You might check code on @kaushalmodi’s website. It turned out he’d done this long before.