Blah
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import { DateTime } from "luxon";
|
||||
import { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
|
||||
import markdownIt from "markdown-it";
|
||||
import markdownItFootnote from "markdown-it-footnote";
|
||||
import markdownItAnchor from "markdown-it-anchor";
|
||||
@ -36,6 +37,17 @@ export default async function(eleventyConfig) {
|
||||
eleventyConfig.addWatchTarget("content/**/*.{svg,webp,png,jpeg}");
|
||||
|
||||
// Official plugins
|
||||
/*
|
||||
eleventyConfig.addPlugin(eleventyImageTransformPlugin, {
|
||||
extensions: "html",
|
||||
formats: ["webp"],
|
||||
widths: [270,540,810,1080],
|
||||
defaultAttributes: {
|
||||
loading: "lazy",
|
||||
decoding: "async",
|
||||
},
|
||||
urlPath: "/img/",
|
||||
});*/
|
||||
eleventyConfig.addPlugin(pluginRss);
|
||||
eleventyConfig.addPlugin(pluginSyntaxHighlight, {
|
||||
preAttributes: { tabindex: 0 }
|
||||
|
Reference in New Issue
Block a user