diff --git a/config/plugins/markdown.js b/config/plugins/markdown.js index 39e8a6a..e5648c5 100644 --- a/config/plugins/markdown.js +++ b/config/plugins/markdown.js @@ -46,7 +46,7 @@ const markdownLib = markdownIt({ .use(markdownItEmoji) .use(markdownItEleventyImg, { imgOptions: { - widths: [440, 880], + widths: [440, 880, 1024], urlPath: '/assets/images/', outputDir: './dist/assets/images/', formats: ['webp', 'jpeg'] diff --git a/config/shortcodes/image/index.js b/config/shortcodes/image/index.js index 03e3b34..69b7633 100644 --- a/config/shortcodes/image/index.js +++ b/config/shortcodes/image/index.js @@ -18,7 +18,7 @@ const imageShortcode = async ( loading = 'lazy', className, sizes = '90vw', - widths = [440, 880, 1360], + widths = [440, 880, 1024, 1360], formats = ['avif', 'webp', 'jpeg'] ) => { const metadata = await Image(src, {