1.0.7 • Published 4 months ago

@rknightuk/eleventy-plugin-post-graph v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

eleventy-plugin-post-graph

npm

Generate Github-style post distribution graph for your blog posts in Eleventy

npm.io

Basic Usage

Install the package

npm install @rknightuk/eleventy-plugin-post-graph --save-dev

In your Eleventy config:

const postGraph = require('@rknightuk/eleventy-plugin-post-graph')

module.exports = (eleventyConfig, options = {}) => {
    eleventyConfig.addPlugin(postGraph)
}

In your template, use the shortcode and pass it your posts collection:

{% postGraph collections.posts %}

Advanced Usage and Options

See the docs

1.0.7

4 months ago

1.0.6

4 months ago

1.0.5

4 months ago

1.0.2

4 months ago

1.0.4

4 months ago

1.0.3

4 months ago

1.0.1

5 months ago

1.0.0

5 months ago