-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheleventy.config.js
More file actions
29 lines (21 loc) · 1.08 KB
/
Copy patheleventy.config.js
File metadata and controls
29 lines (21 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// import markdownIt from "markdown-it";
// import sitemap from "@quasibit/eleventy-plugin-sitemap";
// import site from "./src/_data/site.js";
// // this matches 11ty's default markdown settings
// const md = markdownIt({ html: true });
export default async function (eleventyConfig) {
// // Add markdown filter for rendering description content
// eleventyConfig.addFilter("markdown", (content) => md.render(content));
eleventyConfig.setInputDirectory("docs");
// eleventyConfig.setLayoutsDirectory("_layouts");
// eleventyConfig.addPassthroughCopy("src/styles/");
// eleventyConfig.addWatchTarget("src/styles/");
// eleventyConfig.addPassthroughCopy("src/_redirects");
// // Keeps the same directory structure.
// eleventyConfig.addPassthroughCopy("**/*.jpg");
// eleventyConfig.addPassthroughCopy("**/*.png");
// eleventyConfig.addPassthroughCopy("**/*.svg");
// eleventyConfig.addPassthroughCopy("src/favicon.ico");
// eleventyConfig.addPassthroughCopy("src/uploads/resources/");
// eleventyConfig.addPlugin(sitemap, { sitemap: { hostname: site.domain } });
}