3 ms·
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, rig
by cmroanirgo 5y ago
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 5y agoYeah but honestly, it's sounds automatable enough.
- GeminiGalaxy 5y agoHey, this is the original author of the blog, it really sounds easy to automate, I am just lazy. I already have a script to setup Jekyll's metadata. I could use toot, a terminal utility to post the blog, using the description as the toot content and since the command returns the toot's url I could echo that and do some sed magic. I havent had the time to set it up but I will write about it once I have the time...