]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
add size for retina displays
authorCameron Otsuka <cameron@otsuka.haus>
Fri, 28 Feb 2025 19:14:40 +0000 (11:14 -0800)
committerCameron Otsuka <cameron@otsuka.haus>
Fri, 28 Feb 2025 19:14:40 +0000 (11:14 -0800)
eleventy.config.cjs

index e636a5145e09ec604f3ac3c23dff1099b52823eb..6a2ac78bdba569feeeb9dbe35821bd352e7a5456 100644 (file)
@@ -126,7 +126,7 @@ module.exports = async function (eleventyConfig) {
                        input = relativeToInputPath(this.page.inputPath, src);
                }
                const metadata = await eleventyImagePlugin(input, {
-                       widths: [360, 720],
+                       widths: [360, 720, 1440],
                        formats: ["svg", "avif", "jpeg", "gif"],
                        sharpOptions: {
                                animated: true,