UNPKG

eleventy-plugin-green-links

Version:

An Eleventy plugin which checks if links on a website are hosted on verified green hosting providers from The Green Web Foundation's Green Web dataset.

7 lines (6 loc) 179 B
const greenLinks = require('./lib/greenLinks'); module.exports = { configFunction(eleventy, config = {}) { eleventy.addTransform('green-links', greenLinks(config)); }, };