Adding Bluesky likes to my Hugo based blog posts
a year ago
- #Hugo
- #Web Development
- #Bluesky
- Adding Bluesky likes to Hugo-based blog posts inspired by Salma Alam-Naylor’s implementation.
- Using a custom frontmatter field to associate Bluesky Post IDs with blog posts.
- JavaScript dynamically fetches and displays up-to-date Bluesky likes via a public API.
- Implementation involves Hugo partials, site configuration, and JavaScript for dynamic content.
- Includes a placeholder for likes, Bluesky handle, and post ID accessible to JavaScript.
- Encourages interaction by linking to the Bluesky post for likes and comments.