my own rake tasks for faster post creation
17 May 2015seems i got it too work. i needed a faster way to create posts with a simple command on the command line: rake post["title"]
in a _post.txt
file i can define the yaml front matter for the specific post and the rakefile takes care of the title and date of the post and generates the file inside _posts/
.
in the _config.yml
i add the lines:
post:
template: _post.txt
extension: md
i can add different tasks for different post types which could have different front matter if needed. booya.
oh yeah, i could start using Octopress, cus it’s awesome but i’m trying my own ways first, aight…