Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonpecora committed Nov 8, 2017
1 parent 1f5c05a commit 6d12dfb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# nymag-handlebars
# clayhandlebars

[![Build Status](https://travis-ci.org/clay/handlebars.svg)](https://travis-ci.org/clay/handlebars)
[![Coverage Status](https://coveralls.io/repos/github/clay/handlebars/badge.svg?branch=master)](https://coveralls.io/github/clay/handlebars?branch=master)
Expand All @@ -9,15 +9,15 @@ A collection of helpers and partials for handlebars
# Installation

```
npm install --save nymag-handlebars
npm install --save clayhandlebars
```

# Usage

By default, `nymag-handlebars` will export a function that returns a new handlebars instance with all of the helpers and partials added.
By default, `clayhandlebars` will export a function that returns a new handlebars instance with all of the helpers and partials added.

```js
var hbs = require('nymag-handlebars')(),
var hbs = require('clayhandlebars')(),
template = hbs.compile('<h1>Hello {{ place }}!</h1>'),
result = template({ place: 'World' });

Expand All @@ -31,7 +31,7 @@ If you want to configure and use your own handlebars environment, you can pass i
```js
var Handlebars = require('express-handlebars'),
env = new Handlebars({ /* some config */ }),
hbs = require('nymag-handlebars')(env),
hbs = require('clayhandlebars')(env),
app = require('express')();

app.engine('handlebars', hbs.engine);
Expand Down
10 changes: 5 additions & 5 deletions docs/readme.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# nymag-handlebars
# clayhandlebars

[![Build Status](https://travis-ci.org/clay/handlebars.svg)](https://travis-ci.org/clay/handlebars)
[![Coverage Status](https://coveralls.io/repos/github/clay/handlebars/badge.svg?branch=master)](https://coveralls.io/github/clay/handlebars?branch=master)
Expand All @@ -9,15 +9,15 @@ A collection of helpers and partials for handlebars
# Installation

```
npm install --save nymag-handlebars
npm install --save clayhandlebars
```

# Usage

By default, `nymag-handlebars` will export a function that returns a new handlebars instance with all of the helpers and partials added.
By default, `clayhandlebars` will export a function that returns a new handlebars instance with all of the helpers and partials added.

```js
var hbs = require('nymag-handlebars')(),
var hbs = require('clayhandlebars')(),
template = hbs.compile('<h1>Hello \{{ place }}!</h1>'),
result = template({ place: 'World' });

Expand All @@ -31,7 +31,7 @@ If you want to configure and use your own handlebars environment, you can pass i
```js
var Handlebars = require('express-handlebars'),
env = new Handlebars({ /* some config */ }),
hbs = require('nymag-handlebars')(env),
hbs = require('clayhandlebars')(env),
app = require('express')();

app.engine('handlebars', hbs.engine);
Expand Down

0 comments on commit 6d12dfb

Please sign in to comment.