Jump to content

Create Jekyll posts with Front matter

Recommended Posts

This is my first workflow. I'm still learning and it's pretty simple, nonetheless I wanted to share it and get some feedback :)


Jekyll and other static website generators use markdown with some special yml-like text at the beginning, the "Frontmatter". This can be tedious to create, especially if you manage a few websites / blogs. This workflow allows you to create a new post with the current date, setting a title and a category and have it saved and ready to edit with your favourite markdown editor. I use it on Your Financial Fallacies, a blog of mine.



See full README on Github






Then select the post's category.



- Set the correct destination path in the Workflow configuration details

- Edit the `vpost` step to add your own categories.
- Edit the `Open file` step to set a default markdown editor.

- Change icons in the `post` and `vpost` steps to identify your blog.

Support multiple blogs

Simply duplicate the workflow in Alfred. Make only sure to set a new icon to the `post` and `vpost` steps, so that you can easily identify which blog you're posting to.




I'd love to have your opinion on how to improve this, thank you!

Edited by Calt
Fix typos and clarify configuration
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...