Skip to content

Commit

Permalink
docs(global config): Add entry_key, entry_extension to global config,…
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron J Roe committed Nov 13, 2016
1 parent e7341c0 commit e502960
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ When you use metalsmith using the [cli](https://github.com/metalsmith/metalsmith
"plugins": {
"contentful-metalsmith": {
"access_token": "YOUR_CONTENTFUL_ACCESS_TOKEN",
"space_id": "YOUR_CONTENTFUL_SPACE_ID"
"space_id": "YOUR_CONTENTFUL_SPACE_ID",
"entry_key": "_key",
"entry_extension": "md"
}
}
}
Expand All @@ -52,6 +54,8 @@ metalsmith.use(require('contentful-metalsmith')({ 'access_token' : 'YOUR_CONTENT

- `acccess_token`
- `space_id`
- `entry_key`
- `entry_extension`

You can find the `access_token` and `space_id` in your [app](https://app.contentful.com) at `APIs -> Content delivery API Keys`.

Expand Down

0 comments on commit e502960

Please sign in to comment.