Adding a Fediverse Share Button to my Emacs Nikola Blog
Just to get extra meta, I published this blog post, then shared it to my #Fediverse account by clicking the "Fediverse Share Button" and writing these words you're reading right now.
Next I will grab the article ID of this toot, and rebuild and redeploy, so that when (if?) anyone replies to this toot, their replies will appear in the "Comments" section of my blog!
100% static site, written in Emacs, built and deployed using Nikola.
I haven't clicked a "share" button in years because this is the only social media I have. No Twit, no Facebot. I saw one other attempt at a fediverse button, but I couldn't get it to work at the time.
Yours was stupidly simple to implement.
It was only a little more complicated because I'm using Nikola, so I had to figure out where to put the pieces. Once I had it all in place... it JUST WORKED. First time.
I didn't originally plan on hosting the JS/CSS files myself, but I'm starting to consider that now, as a default option, so that folks who use this get the latest version.
@stefan That'd be amazeballs. Currently I would have to git pull and copy over and rebuild to get upstream changes.
I should probably move my CSS changes into my own stylesheet, and just override yours, too, so that I don't have to re-apply them later.
Honestly tho? I'm just happy it works. My blog isn't exactly ... quotable ... heheh. But the button is just too awesome. I NEEDED IT. Now I can annoy people with "New blog post dropped!" with button clicks instead of copy-pastes!
Add comment