1.0.0-beta.10 • Published 1 month ago

@indiekit/endpoint-json-feed v1.0.0-beta.10

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@indiekit/endpoint-json-feed

Syndicate posts from Indiekit using JSON Feed.

Installation

npm i @indiekit/endpoint-json-feed

Usage

Add @indiekit/endpoint-json-feed to your list of plug-ins, specifying options as required:

{
  "plugins": ["@indiekit/endpoint-json-feed"],
  "@indiekit/endpoint-share": {
    "fileName": "posts.json",
    "mountPath": "/feeds",
  },
}

Options

OptionTypeDescription
feedNamestringFile name. Optional, defaults to /feed.json.
mountPathstringPath to JSON Feed. Optional, defaults to /.