broccoli-blog-api

1.0.1 • Public • Published

Broccoli Blog API

Warning this plugin is in very experimental early development and will probably change alot. If you have ideas or questions add an Issue to the Github Repository.

This Plugin will translate a directory (or set of directories) of Markdown documents into a static JSONAPI. The plugin parses front matter and turns it into other properties on the blog post resource.

Installation

To install this plugin run:

yarn add broccoli-blog-api

Use

To use this plugin, in your broccoli tree:

const BlogApi = require('broccoli-blog-api');

return new BlogApi('blogs');

Example

To better understand the inputs and outputs of this plugin, look at the Brocfile.js file, Blog Directory, and the Dist Output.

Readme

Keywords

none

Package Sidebar

Install

npm i broccoli-blog-api

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • rtablada