Skip to content

Commit

Permalink
fix: manually add nunjucks-only rss filters as universal filters
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed Jan 29, 2025
1 parent 6c9c95e commit 33e2884
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ export default eleventy(function (eleventyConfig) {
enableTarget: false,
});
eleventyConfig.addPlugin(pluginRSS);
eleventyConfig.addFilter('dateToRfc3339', pluginRSS.dateToRfc3339);
eleventyConfig.addFilter(
'getNewestCollectionItemDate',
pluginRSS.getNewestCollectionItemDate,
);

eleventyConfig.addPlugin(pluginAutoCacheBuster);
eleventyConfig.addPlugin(pluginIcons, {
mode: 'inline',
Expand Down

0 comments on commit 33e2884

Please sign in to comment.