Infinite | Squares

Art of code and more

Hello Octopress

Starting to blog with octopress! blogging with markdown is fun!

Steps on blogging with Octopress

(So I don’t always google)

Notes copied from octopress docs

New article

1
rake new_post["This is awesome article title!"]

edit headers, add categories. Example:

1
2
3
4
5
6
7
8
9
10
# One category
categories: Code
 
# Multiple categories example 1
categories: [Code, C++]
 
# Multiple categories example 2
categories:
- Code
- C++

New Pages

1
2
rake new_page[super-awesome]
# creates /source/super-awesome/index.markdown

Content

Inserting <!-- more --> will prevent the post content below this mark from being displayed on the index page for the blog posts

Generate, Preview, Publish

1
2
3
bundle exec rake generate   # Generates posts and pages into the public directory
bundle exec rake preview    # Watches, and mounts a webserver at http://localhost:4000
bundle exec rake deploy     # Deploy to git

Comments