@indiekit/post-type-article
Version:
Article post type for Indiekit
28 lines (19 loc) • 597 B
Markdown
# @indiekit/post-type-article
Article post type for Indiekit.
## Installation
`npm i @indiekit/post-type-article`
## Usage
Add `@indiekit/post-type-article` to your list of plug-ins, specifying options as required:
```json
{
"plugins": ["@indiekit/post-type-article"],
"@indiekit/post-type-article": {
"name": "Article"
}
}
```
## Options
| Option | Type | Description |
| :------- | :------- | :-------------------------------- |
| `name` | `string` | Post type name. |
| `fields` | `Array` | Fields to show in post interface. |