Social Media Posts after Migrating from WordPress to Hugo Static Pages

I posted recently on my experience moving to Hugo from WordPress. One feature lost in the move were the Wordpress plugins used to automatically post to Twitter and LinkedIn when a new blog post was created. I always found this very useful, so looked or a way to replicate this functionality for static pages.

The solution I ended up with was Azure Logic Apps.

I created a Logic App with a scheduled triggered that checked my blogs's RSS feed every 30 minutes. If it found the RSS feed had been updated, I then created a bitly link for the new post's URL, then posts to Email (as a test), Twitter and LinkedIn.

The really nice thing is this is done with built in Logic App connectors, so was quick an easy to create.

Logic App