Skip to content

Commit

Permalink
Style changes to config
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Mar 28, 2023
1 parent 8602bae commit 5ec08b9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ const pluginBundle = require("@11ty/eleventy-plugin-bundle");
const pluginNavigation = require("@11ty/eleventy-navigation");
const { EleventyHtmlBasePlugin } = require("@11ty/eleventy");

const pluginDrafts = require("./eleventy.config.drafts.js");
const pluginImages = require("./eleventy.config.images.js");

module.exports = function(eleventyConfig) {
// Copy the contents of the `public` folder to the output folder
// For example, `./public/css/` ends up in `_site/css/`
Expand All @@ -22,8 +25,8 @@ module.exports = function(eleventyConfig) {
eleventyConfig.addWatchTarget("content/**/*.{svg,webp,png,jpeg}");

// App plugins
eleventyConfig.addPlugin(require("./eleventy.config.drafts.js"));
eleventyConfig.addPlugin(require("./eleventy.config.images.js"));
eleventyConfig.addPlugin(pluginDrafts);
eleventyConfig.addPlugin(pluginImages);

// Official plugins
eleventyConfig.addPlugin(pluginRss);
Expand Down Expand Up @@ -104,7 +107,7 @@ module.exports = function(eleventyConfig) {
"md",
"njk",
"html",
"liquid"
"liquid",
],

// Pre-process *.md files with: (default: `liquid`)
Expand All @@ -115,7 +118,7 @@ module.exports = function(eleventyConfig) {

// These are all optional:
dir: {
input: "content", // default: "."
input: "content", // default: "."
includes: "../_includes", // default: "_includes"
data: "../_data", // default: "_data"
output: "_site"
Expand Down

0 comments on commit 5ec08b9

Please sign in to comment.