Style changes to config
This commit is contained in:
parent
8602baecbb
commit
5ec08b9765
@ -7,6 +7,9 @@ const pluginBundle = require("@11ty/eleventy-plugin-bundle");
|
|||||||
const pluginNavigation = require("@11ty/eleventy-navigation");
|
const pluginNavigation = require("@11ty/eleventy-navigation");
|
||||||
const { EleventyHtmlBasePlugin } = require("@11ty/eleventy");
|
const { EleventyHtmlBasePlugin } = require("@11ty/eleventy");
|
||||||
|
|
||||||
|
const pluginDrafts = require("./eleventy.config.drafts.js");
|
||||||
|
const pluginImages = require("./eleventy.config.images.js");
|
||||||
|
|
||||||
module.exports = function(eleventyConfig) {
|
module.exports = function(eleventyConfig) {
|
||||||
// Copy the contents of the `public` folder to the output folder
|
// Copy the contents of the `public` folder to the output folder
|
||||||
// For example, `./public/css/` ends up in `_site/css/`
|
// For example, `./public/css/` ends up in `_site/css/`
|
||||||
@ -22,8 +25,8 @@ module.exports = function(eleventyConfig) {
|
|||||||
eleventyConfig.addWatchTarget("content/**/*.{svg,webp,png,jpeg}");
|
eleventyConfig.addWatchTarget("content/**/*.{svg,webp,png,jpeg}");
|
||||||
|
|
||||||
// App plugins
|
// App plugins
|
||||||
eleventyConfig.addPlugin(require("./eleventy.config.drafts.js"));
|
eleventyConfig.addPlugin(pluginDrafts);
|
||||||
eleventyConfig.addPlugin(require("./eleventy.config.images.js"));
|
eleventyConfig.addPlugin(pluginImages);
|
||||||
|
|
||||||
// Official plugins
|
// Official plugins
|
||||||
eleventyConfig.addPlugin(pluginRss);
|
eleventyConfig.addPlugin(pluginRss);
|
||||||
@ -104,7 +107,7 @@ module.exports = function(eleventyConfig) {
|
|||||||
"md",
|
"md",
|
||||||
"njk",
|
"njk",
|
||||||
"html",
|
"html",
|
||||||
"liquid"
|
"liquid",
|
||||||
],
|
],
|
||||||
|
|
||||||
// Pre-process *.md files with: (default: `liquid`)
|
// Pre-process *.md files with: (default: `liquid`)
|
||||||
|
Loading…
Reference in New Issue
Block a user