Skip to content

Commit b27cc65

Browse files
committed
Add new commands to README
1 parent b3378b4 commit b27cc65

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,14 @@ Listed in help you will see new commands available to you:
2828
draft # Creates a new draft post with the given NAME
2929
post # Creates a new post with the given NAME
3030
publish # Moves a draft into the _posts directory and sets the date
31+
unpublish # Moves a post back into the _drafts directory
32+
page # Creates a new page with the given NAME
3133
```
3234

35+
Create your new page using:
36+
37+
$ jekyll page "My New Page"
38+
3339
Create your new post using:
3440

3541
$ jekyll post "My New Post"
@@ -44,6 +50,10 @@ Publish your draft using:
4450
# or specify a specific date on which to publish it
4551
$ jekyll publish _drafts/my-new-draft.md --date 2014-01-24
4652

53+
Unpublish your post using:
54+
55+
$ jekyll unpublish _posts/2014-01-24-my-new-draft.md
56+
4757
## Helpful Note
4858

4959
If after installing the jekyll-compose gem you still do not see the above

0 commit comments

Comments
 (0)