{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreigchvh4l663hzuaaw5x3w44wfqjtdofuxgxauqljh3jg2ziwueram",
"uri": "at://did:plc:fn2acxfxtgb64qxmzdocnbav/app.bsky.feed.post/3mgfkf6jpot62"
},
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreihxvquvjdepv3gvtox6hputnlqrnfylj6uoigithor24vyvjfguim"
},
"mimeType": "image/png",
"size": 25009
},
"path": "/blog/share-this-post-to-mastodon/",
"publishedAt": "2026-03-05T02:22:22.000Z",
"site": "https://joelchrono.xyz",
"tags": [
"share button for websites!",
"Liquid syntax",
"git repo",
"Mastodon-based comments section",
"short update post",
"100DaysToOffload",
"Reply to this post via email](mailto:me@joelchrono.xyz?subject=Share this post to Mastodon) | [Reply on Fediverse"
],
"textContent": "The people at Mastodon recently released a share button for websites! and I think it works rather well, as it remembers the instance you selected for the next time you use it somewhere else.\n\nI added the following button to the bottom of my articles! I made use of Jekyll’s Liquid syntax.\n\n\n <a class=\"button\" href=\"https://share.joinmastodon.org/#text=Check%20this%20blogpost%20by%20%40joel%40fosstodon.org! https://joelchrono.xyz{{ page.url | uri_scape }}\" target=\"_blank\" rel=\"noopener\">Share on Mastodon</a>\n\nYou can find this line in use on my `_includes/comments.html` file—available on my git repo, where I also have my Mastodon-based comments section, just in case you are also interested on getting those set up on your static website!\n\nThought I’d make a shorter post for once. Could it just be part of my weeknotes? maybe, but I write whatever I want on my website. I actually realized this thanks to a short update post, not too different to this one, on Andreas’ website. Cool stuff!\n\nAnyway, I should go back to playing CrossCode before the day is over, I have a bunny to catch.\n\nThis is day 28 of #100DaysToOffload\n\nReply to this post via email](mailto:me@joelchrono.xyz?subject=Share this post to Mastodon) | [Reply on Fediverse",
"title": "Share this post to Mastodon",
"updatedAt": "2026-03-05T02:22:22.000Z"
}