-
Notifications
You must be signed in to change notification settings - Fork 4
Rake Automation
arkokoley edited this page Jan 2, 2013
·
2 revisions
Sani has a number of Rake commands that make working with it easier.
Usage: rake npost[my-new-post]
or rake npost['my new post']
or rake npost
(defaults to "new-post")
Working: Creates a post in the _posts
directory with the current date, time and other necessary YAML matter.
Usage: rake npage[my-new-page]
or rake npage[my-new-page.html]
or rake npage
(defaults to "new-page.markdown")
Working: Creates a new directory with a page in it with YAML.
For eg. rake npage[my-new-page]
creates a page my-new-page/index.md
|
rake npage[my-new-page.html]
creates a page my-new-page/index.html