Skip to content
Browse files

Rejigged content on getting started and how it works pages

  • Loading branch information...
1 parent 6a2257c commit c6218b2a7aa4df74d13af4bbbd7980af6f145a5d @benschwarz committed Jan 7, 2010
Showing with 7 additions and 10 deletions.
  1. +5 −8 content/1.getting-started/default.yml
  2. +2 −2 content/2.how-it-works/default.yml
View
13 content/1.getting-started/default.yml
@@ -17,19 +17,16 @@
To create the required framework for your new site, use `bonsai --plant jasper`, the generator will create your framework in `./jasper`.
- Bonsai comes with a built in webserver to your site while you develop it, run `bonsai --cultivate` from within your generated framework (`cd ./jasper`). A web server will start on port 5000, navigate to [localhost](http://localhost:5000) and get hacking.
-
- When you save, add or remove files `bonsai --cultivate` will process your assets (images, js, and css), they will be rendered into the `output` directory. This is so that they can be served using relative paths.
-
The Bonsai generator will create an index page, `.htaccess` for apache, `base.less` and a default [mustache](http://github.com/defunkt/mustache) template.
- If you're uninterested in using [lesscss](http://lesscss.org), simply rename your `base.less` file to `base.css`.
+ If you're uninterested in using [lesscss](http://lesscss.org), simply rename your `base.less` file to `base.css`.
- Any `.less` files added to the `public/` directory will be processed with less.
+ Any `.less` files added to the `public/` directory will be processed with less.
You don't have to use mustache either - Bonsai uses "[Tilt](http://github.com/rtomayko/tilt)", to use another templating engine, simply change the file extension.
+ Bonsai comes with a built in webserver, use it while building your website. Run `bonsai --cultivate` from within your generated framework (`cd ./jasper`). A web server will start on port 5000, navigate to [localhost](http://localhost:5000) and get hacking.
- Bonsai decides to give you some defaults using tools that I'd consider the best available for a well designed hierarchical site.
+ When you save, add or remove files `bonsai --cultivate` will also process your assets (images, js, and css).
- To get a better grasp of how Bonsai works, plant your first now.
+ Bonsai decides to give you some defaults using tools that I'd consider the best available for a well designed hierarchical site. To get a better grasp of how Bonsai works, plant your first now.
View
4 content/2.how-it-works/default.yml
@@ -16,9 +16,9 @@
For example, a page kept under `content/about-us/services` will have a permalink of "/about-us/services".
- For a page to be recognised, you'll need a `template-name.yml` file. The "template-name" section of the file name referrers to the template that will be used to render your page.
+ For a page to be recognised, you'll need a `template-name.yml` file. The "template-name" section of the file name refers to the template that will be used to render your page.
- The yml file holds the textual content for your page, you can create key/value pairs with strings, hashes or arrays. This allows for outputting text or iterating over more complex objects to write them into your template neatly.
+ The `.yml` file holds the textual content for your page, you can create key/value pairs with strings, hashes or arrays. This allows for outputting text or iterating over more complex objects to write them into your template neatly.
#### Page order and "Floating" pages

0 comments on commit c6218b2

Please sign in to comment.
Something went wrong with that request. Please try again.