Octopress

« Go back to Cheatsheets

Blogging

1
2
3
4
5
6
7
8
# new post
  rake new_post["Blog Post Title"]

# new page
  rake new_page["page name"]

# new page inside a category
  rake new_page["category name/page name"]

Generate & Preview

1
2
3
4
5
6
7
8
# Generates posts and pages into the public directory
  rake generate

# Watches source/ and sass/ for changes and regenerates
  rake watch

# Watches, and mounts a webserver at http://localhost:4000
  rake preview

Comments