Closes#335.
This is my first attempt coding for eleventy/liquid so I'd be happy to get feedback on making the code cleaner or more idiomatic, or just more like the Codeberg style.
Co-authored-by: David Anselmi <danselmi@intecrowd.com>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/780
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Refresh Codeberg documentatation looks by using Halfmoon v2.
Mobile UI also got a overhaul.
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/655
Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
The trade-off is not worth it, it isn't *that* good for screenshots and
it uses too much memory and increases build time by a order of magnitude
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/495
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
Use https://www.11ty.dev/docs/plugins/image/ to transform images on build time to avif, webp and jpeg.
Images are moved to `/content/images`.
`<picture>` is no longer needed, the plugin does this automatically.
Remove webp images from the source.
Resolves#152Resolves#368
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/488
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>