Eleventy Tag Cloud
Bring back tag clouds you cowards
Usage
npm install eleventy-plugin-tag-cloud
Then, include it in your .eleventy.js
config file:
const EleventyPluginTagCloud = require("eleventy-plugin-tag-cloud");
module.exports = (eleventyConfig) => {
eleventyConfig.addPlugin(EleventyPluginTagCloud);
};
Config Options
Option | Type | Default |
---|---|---|
ignore | string[] | [] |
Config Examples
module.exports = (eleventyConfig) => {
eleventyConfig.addPlugin(EleventyPluginTagCloud, {
ignore: [ 'posts' ]
});
}
Credits
- The incredible 11ty plugin boilerplate by Stephanie Eckles