Skip to content

Commit

Permalink
removed jade example since jade view engine is now a seperate module
Browse files Browse the repository at this point in the history
  • Loading branch information
nrstott committed Dec 9, 2011
1 parent fdda7f0 commit e5da0ef
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 48 deletions.
18 changes: 8 additions & 10 deletions README.md
Expand Up @@ -145,17 +145,11 @@ to hold other templates to avoid duplication of content.

Visit the application in a web browser at [http://localhost:8080/](http://localhost:8080)

### Haml
### Jade

Haml is an optional dependency of bogart. Please install it via `npm install haml` if you wish to use this templating
engine.

The Haml sample demonstrates a haml view without a layout.

> cd examples/haml-view
> node app.js

Visit the application in a web browser at [http://localhost:8080/](http://localhost:8080)
If you would like to use Jade instead of Mustache, please `npm install bogart-jade`. Then in
your application add `require('bogart-jade')` and the Jade ViewEngine will be available via
`bogart.viewEngine('jade')`. See [the github repository](https://github.com/nrstott/bogart-jade) for more information.

## Middleware
Bogart comes with a variety of JSGI middleware appliances. The `batteries` appliance includes a recommended JSGI application chain for
Expand Down Expand Up @@ -225,6 +219,10 @@ Standard flash middleware for bogart. Session id and data are stored in encrypte
* Avoid manipulating prototypes of Node.JS constructors. Manipulating prototypes makes for harder to understand code.
Also, Bogart is expected to be cross-platform in the future.

## Supporting Modules

* [Jade View Engine](https://github.com/nrstott/bogart-jade): `npm install bogart-jade`

## Contributors

* [Nathan Stott](https://github.com/nrstott)
Expand Down
31 changes: 0 additions & 31 deletions examples/jade-layout/app.js

This file was deleted.

1 change: 0 additions & 1 deletion examples/jade-layout/views/index.jade

This file was deleted.

6 changes: 0 additions & 6 deletions examples/jade-layout/views/layout.jade

This file was deleted.

0 comments on commit e5da0ef

Please sign in to comment.