Skip to content
This repository has been archived by the owner on Nov 11, 2017. It is now read-only.

Commit

Permalink
Add jekyll-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
aweekj committed Jan 20, 2017
1 parent fa712d2 commit 802fa2a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,16 @@ baseurl: "/<branch-name>"
## Rakefile Usage

```bash
$ rake post title="A Title" [date="2015-08-16"] [tags="[tag1, tag2]"]
# Create new post
$ rake post title="A Title" [date="2015-08-16"] [tags="[tag1, tag2]"]
# Create new draft post
$ rake draft title="A Title" [date="2015-08-16"] [tags="[tag1, tag2]"]
# Install Jekyll Plugins. Do before running in local.
$ rake geminstall
# Run in Local
$ rake preview
```

Expand Down
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ task :draft do
end
end # task :draft

desc "Install Jekyll Plugins"
task :geminstall do
system "gem install jekyll-seo-tag jekyll-paginate jekyll-admin"
end # task :geminstall

desc "Launch preview environment"
task :preview do
system "jekyll serve --incremental"
Expand Down
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,6 @@ defaults:
gems:
- jekyll-seo-tag
- jekyll-paginate
- jekyll-admin

exclude: [vendor]
exclude: [vendor]
10 changes: 9 additions & 1 deletion about.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,16 @@ baseurl: "/<branch-name>"
## Rakefile Usage

```bash
$ rake post title="A Title" [date="2015-08-16"] [tags="[tag1, tag2]"]
# Create new post
$ rake post title="A Title" [date="2015-08-16"] [tags="[tag1, tag2]"]
# Create new draft post
$ rake draft title="A Title" [date="2015-08-16"] [tags="[tag1, tag2]"]
# Install Jekyll Plugins. Do before running in local.
$ rake geminstall
# Run in Local
$ rake preview
```

Expand Down

0 comments on commit 802fa2a

Please sign in to comment.