I recently added a Micro.blog add-ons category for my Bearming theme, and it now includes an add-on for showing replies on your Bear blog. If one of your posts got a reply, it will be displayed below the upvote button. Each reply shows as a card with the author's avatar, name, message, and a link to the original reply. Here's an example from the Photo calendar for Bear blog post. If there are no replies, the post will look just like before.1 2 3 The add-on requires that your Bear blog feed is imported into Micro.blog. Preview How to useAdd the script to your blog footer. Replace the config values at the top with your own domains and Micro.blog username. Script<script> /* Micro.blog replies | robertbirming.com */ (async () => { const BEAR_DOMAIN = 'your-bearblog.com'; const MB_DOMAIN = 'your-microblog.com'; const MB_USERNAME = 'your-microblog-username'; const url = window.location.href.replace(BEAR_DOMAIN, MB_DOMAIN).split('#')[0]; const endpoint =…
No comments yet. Log in to reply on the Fediverse. Comments will appear here.