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.

 

Download

See full README on Github

 

Usage:

 

image.thumb.png.7e8afd95dccf97d804ec86cdbb6db195.png

 

Then select the post's category.

 

Configuration

- 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.

 

Feedback

 

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...