top | item 30053402

How to add comments to Jekyll blog

32 points| ecliptik | 4 years ago |joelchrono12.netlify.app | reply

7 comments

order
[+] cmroanirgo|4 years ago|reply
Uses mastadon rather than others (eg github) but gives reasons why. Currently, it's a multi step process it seems;

> I do have to create the mastodon post, right now I just edit the file again and push the changes with the proper id.

> I could create the posts first with the soon-to-be link for the blogpost, but it would be confusing.

> Right now I am thinking about doing some hook with the cli tool `toot` to post the link and do some stuff with sed, echo and then another git push. But meh, manual works too

So, create the blog post, then mastadon post, grab it's id and put it back into jeykll and resubmit.

[+] noicebrewery|4 years ago|reply
Yeah but honestly, it's sounds automatable enough.
[+] easterncalculus|4 years ago|reply
You can also use https://utteranc.es/, which uses GitHub issues for blog comments. This works well for a lot of Jekyll blogs that are already hosted on GitHub Pages.
[+] kdheepak|4 years ago|reply
I use https://giscus.app/ for my personal blog, which is the same as utteranc.es but uses github discussions instead of issues.
[+] Gigachad|4 years ago|reply
I feel like this is just a service that github/lab could provide officially for blogs. Then they could do it in a nice and performant way and it would add a lot of value to their product.