July 6, 2018

Showing Webmentions here on baty.net

This blog is statically-rendered using Hugo, which means there’s no easy set of plugins (that I know of) for adding Webmentions. There’s nothing like the IndieWeb plugins for WordPress. I’ve been collecting webmentions for a while via webmention.io but needed a way to render them here. I decided to go ahead and roll my own.

Well, to be honest, I just stood over Karl’s shoulder while he wrote the JavaScript for me. He’s so good at this it’s ridiculous. It would have taken me days to cobble something together. Karl did it in less than an hour. I tweaked it just a little, added some CSS, and boom! Webmentions.

Here’s the initial bit of JavaScript.

I’m sure I’ll want to dial things in, but this is a fine start. Thanks Karl!

Previous post
I Have Two Blogs and It’s Fine Over the years I’ve switched blogging platforms a dozen times or more. I enjoy tinkering, and a personal blog is a great place for doing that. The
Next post
Installed the mojave public beta 2 on my iMac. Still having trouble with Finder going unresponsive but Keybase now works