diff --git a/eleventy-cache-webmentions.js b/eleventy-cache-webmentions.js index 3802506..4e6e94a 100644 --- a/eleventy-cache-webmentions.js +++ b/eleventy-cache-webmentions.js @@ -174,6 +174,7 @@ module.exports = (config, options = {}) => { throw new Error("domain is a required option to be passed when adding the plugin to your config using addPlugin.") } + config.addLiquidFilter("getWebmentions", getWebmentionsFilter) config.addNunjucksAsyncFilter("getWebmentions", getWebmentionsFilter) } else { return filteredWebmentions() diff --git a/package.json b/package.json index ea4bd98..4f2bf62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chrisburnell/eleventy-cache-webmentions", - "version": "0.0.1", + "version": "0.0.2", "description": "Cache webmentions from webmention.io using eleventy-cache-assets.", "main": "eleventy-cache-webmentions.js", "author": "Chris Burnell ",