0.3.0 • Published 11 years ago

generator-jekyll-utils v0.3.0

Weekly downloads
5
License
MIT
Repository
github
Last release
11 years ago

generator-jekyll-utils

Yeoman generator that scaffolds out Jekyll content.

Installation

Install the generator by running: npm install -g generator-jekyll-utils.

Usage

cd into your Jekyll project and run any of the following commands:

  • yo jekyll-utils:draft
  • yo jekyll-utils:post
  • yo jekyll-utils:page

To turn a draft into a post, run yo jekyll-utils:publish. This will update the date and prompt to change the title.

Options

Write the TITLE in the arguments: yo jekyll-utils:page About Me.

Use the --skip-greeting flag to hide Yeoman ☹.

Support

If you are using the amazing generator-jekyllrb you can run it from the root folder.

Shortcut

You can reduce the typing by adding the following code to your .functions file like I did.

# Yeoman Jekyll Utils
function jk () {
  yo jekyll-utils:$@;
}

This results in the ability to run jk post My new blog post.

License

MIT license.

0.3.0

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago