some metadata stuff
This commit is contained in:
1 parent
94716d8e63
commit
4bf8c7e334
4 files changed
+17
-3
No files matched your search
@@ -5,6 +5,7 @@ import { feedPlugin } from "@11ty/eleventy-plugin-rss";
|
||||
import syntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight";
|
||||
import { attrs } from "@mdit/plugin-attrs";
|
||||
import { chunk } from "lodash-es";
|
||||
import path from "node:path";
|
||||
|
||||
import pluginFilters from "./_config/filters.js";
|
||||
|
||||
@@ -91,6 +92,9 @@ export default async function(eleventyConfig) {
|
||||
decoding: "async",
|
||||
},
|
||||
},
|
||||
filenameFormat: function (id, src, width, format, options) {
|
||||
return path.basename(src);
|
||||
},
|
||||
});
|
||||
|
||||
/* Navigation */
|
||||
|
||||
Reference in new issue
Block a user