This commit is contained in:
Tim Kroeger 2022-11-24 17:30:17 +01:00
parent 438023b098
commit 82f7c51a68
3 changed files with 29 additions and 2 deletions

View file

@ -36,6 +36,8 @@ const syntaxHighlight = require('@11ty/eleventy-plugin-syntaxhighlight');
const {slugifyString} = require('./config/utils'); const {slugifyString} = require('./config/utils');
const {escape} = require('lodash'); const {escape} = require('lodash');
const pluginRss = require('@11ty/eleventy-plugin-rss'); const pluginRss = require('@11ty/eleventy-plugin-rss');
const inclusiveLangPlugin = require("@11ty/eleventy-plugin-inclusive-language");
module.exports = eleventyConfig => { module.exports = eleventyConfig => {
// Tell 11ty to use the .eleventyignore and ignore our .gitignore file // Tell 11ty to use the .eleventyignore and ignore our .gitignore file
@ -85,6 +87,7 @@ module.exports = eleventyConfig => {
eleventyConfig.addPlugin(syntaxHighlight); eleventyConfig.addPlugin(syntaxHighlight);
eleventyConfig.setLibrary('md', markdownLib); eleventyConfig.setLibrary('md', markdownLib);
eleventyConfig.addPlugin(pluginRss); eleventyConfig.addPlugin(pluginRss);
eleventyConfig.addPlugin(inclusiveLangPlugin);
// --------------------- Passthrough File Copy ----------------------- // --------------------- Passthrough File Copy -----------------------

27
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "eleventy-excellent", "name": "eleventy-excellent",
"version": "1.0.3", "version": "1.1.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "eleventy-excellent", "name": "eleventy-excellent",
"version": "1.0.3", "version": "1.1.1",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@11ty/eleventy": "^2.0.0-canary.16", "@11ty/eleventy": "^2.0.0-canary.16",
@ -16,6 +16,7 @@
"tailwindcss": "^3.0.23" "tailwindcss": "^3.0.23"
}, },
"devDependencies": { "devDependencies": {
"@11ty/eleventy-plugin-inclusive-language": "^1.0.3",
"@11ty/eleventy-plugin-rss": "^1.2.0", "@11ty/eleventy-plugin-rss": "^1.2.0",
"@netlify/plugin-a11y": "^1.0.0-beta.1", "@netlify/plugin-a11y": "^1.0.0-beta.1",
"@toycode/markdown-it-class": "^1.2.4", "@toycode/markdown-it-class": "^1.2.4",
@ -179,6 +180,19 @@
"url": "https://opencollective.com/11ty" "url": "https://opencollective.com/11ty"
} }
}, },
"node_modules/@11ty/eleventy-plugin-inclusive-language": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@11ty/eleventy-plugin-inclusive-language/-/eleventy-plugin-inclusive-language-1.0.3.tgz",
"integrity": "sha512-hQ+kD04aPphK2VYZZ3zqpOSwtvoFxLxxmi+5SVTvlqeQlWQ0SYA57Dg3W0Nj2LdshlYf6gwdGQq34O/MlyolYw==",
"dev": true,
"dependencies": {
"chalk": "^4.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/11ty"
}
},
"node_modules/@11ty/eleventy-plugin-rss": { "node_modules/@11ty/eleventy-plugin-rss": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/@11ty/eleventy-plugin-rss/-/eleventy-plugin-rss-1.2.0.tgz", "resolved": "https://registry.npmjs.org/@11ty/eleventy-plugin-rss/-/eleventy-plugin-rss-1.2.0.tgz",
@ -7330,6 +7344,15 @@
"sharp": "^0.30.3" "sharp": "^0.30.3"
} }
}, },
"@11ty/eleventy-plugin-inclusive-language": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@11ty/eleventy-plugin-inclusive-language/-/eleventy-plugin-inclusive-language-1.0.3.tgz",
"integrity": "sha512-hQ+kD04aPphK2VYZZ3zqpOSwtvoFxLxxmi+5SVTvlqeQlWQ0SYA57Dg3W0Nj2LdshlYf6gwdGQq34O/MlyolYw==",
"dev": true,
"requires": {
"chalk": "^4.1.0"
}
},
"@11ty/eleventy-plugin-rss": { "@11ty/eleventy-plugin-rss": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/@11ty/eleventy-plugin-rss/-/eleventy-plugin-rss-1.2.0.tgz", "resolved": "https://registry.npmjs.org/@11ty/eleventy-plugin-rss/-/eleventy-plugin-rss-1.2.0.tgz",

View file

@ -32,6 +32,7 @@
"tailwindcss": "^3.0.23" "tailwindcss": "^3.0.23"
}, },
"devDependencies": { "devDependencies": {
"@11ty/eleventy-plugin-inclusive-language": "^1.0.3",
"@11ty/eleventy-plugin-rss": "^1.2.0", "@11ty/eleventy-plugin-rss": "^1.2.0",
"@netlify/plugin-a11y": "^1.0.0-beta.1", "@netlify/plugin-a11y": "^1.0.0-beta.1",
"@toycode/markdown-it-class": "^1.2.4", "@toycode/markdown-it-class": "^1.2.4",