Mr Poole, my Alfred workflow for Jekyll sites, has been updated with two new commands for link posts and video posts.

The New link post command uses an Applescript to read the current URL, its title and the current selection from Safari. It creates a new draft in which it fills in the front matter including the link variable and, if text is selected in Safari, it add it as a Markdown quote.

The New video post command basically does something similar. It checks whether the URL is that of a Youtube or Vimeo video. If that’s the case, it strips the video’s ID from the URL and fills in the front matter with the video ID. It also adds selected text as a quote.