You should check out the official 11ty images plugin if you haven’t already. Itll generate multiple sizes for your output. Its the best feature imo.
Comment on A Beginners Guide To Selfhosting Part 1
gibdos@lemmy.world 11 hours agoThanks, glad you liked it.
Yeah, I know that the images are borked. But it’s pretty late here and I was too lazy to fix it. I’ll fix it tomorrow.
ki9@lemmy.gf4.pw 5 hours ago
gibdos@lemmy.world 4 hours ago
Took me an embarrassing amount of time to realize my mistake. I forgot to actually use the npx @11ty/eleventy build command instead of always relying on npx @11ty/eleventy --serve. Now the images are properly linked and transformed / optimized.
gingersaffronapricat@lemmy.world 11 hours ago
I get that. Sometimes there are things for another day. I hope you get a good nights rest