diff --git a/content/improving-documentation/screenshots.md b/content/improving-documentation/screenshots.md index 7ee49c7..54ada42 100644 --- a/content/improving-documentation/screenshots.md +++ b/content/improving-documentation/screenshots.md @@ -17,4 +17,4 @@ On the technical side, screenshots should ideally be created in PNG and WebP or Please put screenshots under `content/images/[section]/[article]/...` where `[section]` and `[article]` are the kebab-cased names of the section or your article, respectively. -Codeberg Documentation encodes images to Avif, WebP and JPEG format on build time, in order to increase page loading speed and reduce traffic. +Codeberg Documentation encodes images to WebP, JPEG and PNG format on build time, in order to increase page loading speed and reduce traffic. diff --git a/eleventy.config.mjs b/eleventy.config.mjs index 346e7fa..fbc751e 100644 --- a/eleventy.config.mjs +++ b/eleventy.config.mjs @@ -14,7 +14,7 @@ export default function (eleventyConfig) { eleventyConfig.addPlugin(syntaxHighlightingPlugin); eleventyConfig.addPlugin(eleventyImageTransformPlugin, { extensions: 'html', - formats: ['avif', 'webp', 'jpeg'], + formats: ['webp', 'jpeg', 'png'], widths: ['auto'], defaultAttributes: { loading: 'lazy',