Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@sa-labs/leo-plugin-blogpost

biscarch3ISC0.7.0

Blog Post Content Type for Leo

leo

readme

Leo Plugin BlogPost

Provides the BlogPost content type for the Leo static site generator.

Installation

npm i --save leo-plugin-blogpost

then add it to the plugins list in your .leorc.

{
  "plugins": [
    "leo-plugin-blogpost"
  ],
  ...
}

Usage

Write a file in your data/ directory with an extension of .post. For example, consider the following hello-world.post.

---
title: "Hello world"
status: "draft"
---

# Hi world

talk about something here

* 1
* secondary
* thirdly

Querying