Ghost Letters 幽霊文字

Mastodon

Improve Mastodon Preview

Published

Improve Mastodon Preview I noticed that some preview cards on Mastodon look nicer than the ones from my blog. For instance, the articles from Bert Hubert’s blog show a time stamp in the preview. Furthermore, the whole preview formatting is different and IMHO looks nicer. So I added (or copy pasted) some of the meta data into my Hugo template. Sidenote: Huge/Go should up their game and provide an ISO 8601 formatter for datetime out of the box.

Add Fediverse Creator Meta Tag

Published

Add Fediverse Creator Meta Tag This post is to test the newly added creator tag on Mastodon. Old posts might not show the change, because the post could be cached. I used this short tutorial to modify the HTML and configure it in my Mastodon settings.

Add Comments to Hugo Blog

Published

After reading this Toot from Surendrajat I wanted to add Mastodon Toots as comments. Thanks @carl for inventing the smart comment solution and sharing the required JavaScript / Hugo integration. Original source: Adding comments to your static blog with Mastodon If you want to see how it all comes together, check out these git commits add required code toot add toot ID to this post