Bluesky post URL

Hello,

I have tried to put together linking to Bluesky cross posts in a similar fashion to mastodon, however I cant do this successfully from the supplied front matter of

.Params.bluesky.id
.Params.bluesky.url — the “at://” URL for the post
.Params.bluesky.handle
.Params.bluesky.hostname
.Params.bluesky.did

Is there a way to work out the correct direct URL from this as the at:// version does not link correctly.

We should include an https version too, but until then you can use this to change the at:// into a link to Bluesky:

{{ replaceRE "at://(.*)/(.*)/(.*)" "https://bsky.app/profile/$1/post/$3" .Params.bluesky.url }}

I’m going to add a .link that does this for you so it’s simpler in the future.

Thanks Manton, that works perfectly :+1:

Great! The .Params.bluesky.link change is also rolled out now.