generated from inherentlee/11ty
navigation
This commit is contained in:
1 parent
1dbb965630
commit
bd887fec26
3 files changed
+20
-7
No files matched your search
+4
-7
@@ -1,5 +1,6 @@
|
||||
import { HtmlBasePlugin } from "@11ty/eleventy";
|
||||
import { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
|
||||
import eleventyNavigationPlugin from "@11ty/eleventy-navigation";
|
||||
|
||||
import { attrs } from "@mdit/plugin-attrs";
|
||||
import { markdownitLinkAttributes } from 'markdown-it-link-attributes';
|
||||
@@ -66,18 +67,14 @@ export default async function (eleventyConfig) {
|
||||
decoding: "async",
|
||||
},
|
||||
},
|
||||
/* If you want to use specific images as the OG image...
|
||||
filenameFormat: function (hash, src, width, format, options) {
|
||||
// If you're building multiple widths
|
||||
// const extension = path.extname(src);
|
||||
// const name = path.basename(src, extension);
|
||||
// return `${name}-${width}.${extension}`;
|
||||
|
||||
return path.basename(src);
|
||||
},
|
||||
*/
|
||||
});
|
||||
|
||||
/* Navigation */
|
||||
eleventyConfig.addPlugin(eleventyNavigationPlugin);
|
||||
|
||||
/* All filters from _config/filters.js */
|
||||
eleventyConfig.addPlugin(pluginFilters);
|
||||
|
||||
|
||||
Reference in new issue
Block a user