generated from inherentlee/11ty
This commit is contained in:
@@ -2,6 +2,7 @@ import { IdAttributePlugin } from "@11ty/eleventy";
|
||||
import { attrs } from "@mdit/plugin-attrs";
|
||||
import { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
|
||||
import eleventyNavigationPlugin from "@11ty/eleventy-navigation";
|
||||
import path from "node:path";
|
||||
|
||||
import pluginFilters from "./_config/filters.js";
|
||||
|
||||
@@ -40,6 +41,9 @@ export default async function (eleventyConfig) {
|
||||
decoding: "async",
|
||||
},
|
||||
},
|
||||
filenameFormat: function (hash, src, width, format, options) {
|
||||
return path.basename(src);
|
||||
},
|
||||
});
|
||||
|
||||
/* Navigation */
|
||||
|
||||
Reference in New Issue
Block a user