Skip to content

Commit

Permalink
added youtube player plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
scottpdawson committed Nov 29, 2020
1 parent a004893 commit 65eb88a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ const CleanCSS = require("clean-css");
const UglifyJS = require("uglify-es");
const htmlmin = require("html-minifier");
const eleventyNavigationPlugin = require("@11ty/eleventy-navigation");
const embedYouTube = require("eleventy-plugin-youtube-embed");

module.exports = function(eleventyConfig) {

// Eleventy Navigation https://www.11ty.dev/docs/plugins/navigation/
eleventyConfig.addPlugin(eleventyNavigationPlugin);

eleventyConfig.addPlugin(embedYouTube);

// Configuration API: use eleventyConfig.addLayoutAlias(from, to) to add
// layout aliases! Say you have a bunch of existing content using
// layout: post. If you don’t want to rewrite all of those values, just map
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"dependencies": {
"@11ty/eleventy-navigation": "^0.1.6",
"clean-css": "^4.2.1",
"eleventy-plugin-youtube-embed": "^1.4.8",
"html-minifier": "^4.0.0",
"uglify-es": "^3.3.9"
}
Expand Down

0 comments on commit 65eb88a

Please sign in to comment.