Github Jekyll Hacks

less than 1 minute read

I put this link in the README.md for my jekyll blogs that I host on GitHub.

https://github.com/username/blogname/new/master/_posts?filename=/YYYY-MM-DD-title.md&value=---%0Alayout:%20single%0Atitle:%20TITLE%0Aauthor:%20yourname%0A---

So all I have to do is click the link and the post gets pre-populated with the front-matter and I can get to writing.

Because of this, I write my blog in the GitHub editor instead of locally on my machine.

It makes it easier to just start writing and not think too much. Then I can just commit the change and my blog will auto-generate.

Updated: