...
|
...
|
@@ -39,7 +39,7 @@ Install the default Octopress theme,
|
39
|
39
|
|
40
|
40
|
and you should be all set up to begin blogging with Octopress.
|
41
|
41
|
|
42
|
|
-### Generating & Preview
|
|
42
|
+### Generate & Preview
|
43
|
43
|
|
44
|
44
|
rake generate # Generates your blog into the public directory
|
45
|
45
|
rake watch # Watches files for changes and regenerates your blog
|
...
|
...
|
@@ -57,16 +57,18 @@ Now that you're setup with POW, you'll just run `rake watch` and load up `http:/
|
57
|
57
|
|
58
|
58
|
Create your first post.
|
59
|
59
|
|
60
|
|
- rake post['hello world']
|
|
60
|
+ rake new_post["hello world"]
|
61
|
61
|
|
62
|
|
-This will put a new post in source/_posts with a name like like `2011-07-3-hello-world.markdown` in the `source/_posts` directory.
|
|
62
|
+This will put a new post with a name like like `2011-07-3-hello-world.markdown` in the `source/_posts` directory.
|
63
|
63
|
Open that file in your favorite text editor and you'll see a block of [yaml front matter](https://github.com/mojombo/jekyll/wiki/yaml-front-matter)
|
64
|
64
|
which tells Jekyll how to processes posts and pages.
|
65
|
65
|
|
66
|
66
|
---
|
67
|
|
- title: Hello World
|
68
|
|
- date: 2011-07-03 5:59
|
69
|
67
|
layout: post
|
|
68
|
+ title: "Hello World"
|
|
69
|
+ date: 2011-07-03 5:59
|
|
70
|
+ comments: true
|
|
71
|
+ categories:
|
70
|
72
|
---
|
71
|
73
|
|
72
|
74
|
Now beneath the yaml block, go ahead and type up a sample post, or use some [inspired filler](http://baconipsum.com/). If you're running the watcher, save and refresh your browser and you
|