1 import { feedPlugin } from "@11ty/eleventy-plugin-rss";
2 import pluginSyntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight";
3 import pluginNavigation from "@11ty/eleventy-navigation";
4 import Image from "@11ty/eleventy-img";
5 import { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
6 import markdownIt from "markdown-it";
8 import path from "path";
10 export default function(eleventyConfig) {
11 eleventyConfig.addGlobalData(
13 './layouts/index.liquid' // Relative to `./src/_includes`
17 .addPassthroughCopy("./content/feed/pretty-atom-feed.xsl")
18 .addPassthroughCopy({ "src/images/favicon": "/" })
19 .addPassthroughCopy({ "src/videos": "/videos" });
23 eleventyConfig.addPlugin(pluginSyntaxHighlight, {
24 preAttributes: { tabindex: 0 }
26 eleventyConfig.addPlugin(pluginNavigation);
28 eleventyConfig.addPlugin(eleventyImageTransformPlugin);
35 eleventyConfig.setLibrary("md", markdownIt(options));