Skip to content

Commit

Permalink
Adds Embed Everything plug-in
Browse files Browse the repository at this point in the history
  • Loading branch information
mijndert committed Apr 16, 2024
1 parent 5c7b84e commit 09bc13a
Show file tree
Hide file tree
Showing 3 changed files with 240 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const dateFilter = require("./src/filters/date-filter.js");
const w3DateFilter = require("./src/filters/w3-date-filter.js");
const pluginRss = require("@11ty/eleventy-plugin-rss");
const embeds = require("eleventy-plugin-embed-everything");

module.exports = (config) => {
config.addFilter("dateFilter", dateFilter);
Expand All @@ -10,6 +11,7 @@ module.exports = (config) => {
config.addPassthroughCopy({ 'src/robots.txt': '/robots.txt' });
config.addPassthroughCopy({ 'src/CNAME': '/CNAME' });
config.addPlugin(pluginRss);
config.addPlugin(embeds);
return {
markdownTemplateEngine: "njk",
dataTemplateEngine: "njk",
Expand Down
237 changes: 237 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"license": "ISC",
"dependencies": {
"@11ty/eleventy": "^2.0.1",
"eleventy-plugin-embed-everything": "^1.18.2",
"moment": "^2.30.1"
},
"devDependencies": {
Expand Down

0 comments on commit 09bc13a

Please sign in to comment.