@indiekit/endpoint-json-feed
Version:
Syndicate posts from Indiekit using JSON Feed.
29 lines (20 loc) • 756 B
Markdown
Syndicate posts from Indiekit using [JSON Feed](https://www.jsonfeed.org).
`npm install @indiekit/endpoint-json-feed`
Add `@indiekit/endpoint-json-feed` to your list of plug-ins, specifying options as required:
```jsonc
{
"plugins": ["@indiekit/endpoint-json-feed"],
"@indiekit/endpoint-share": {
"fileName": "posts.json",
"mountPath": "/feeds",
},
}
```
| Option | Type | Description |
| :---------- | :------- | :----------------------------------------------- |
| `feedName` | `string` | File name. _Optional_, defaults to `/feed.json`. |
| `mountPath` | `string` | Path to JSON Feed. _Optional_, defaults to `/`. |