3 ms·
My blog is always a struggle sorting the esoteric docs of Hugo, but my website is plain vanilla HTML and is always refreshing to work on after a week of webpack
by komali2 7y ago
My blog is always a struggle sorting the esoteric docs of Hugo, but my website is plain vanilla HTML and is always refreshing to work on after a week of webpacked JavaScript:
http://www.calebjay.com http://www.calebjay.com
Topics: frontend, bootcamps, motorcycling, traveling
Incidentally, I'm investigating simple ways to display my favorite photography on my site, but I've not figured out yet a good UI or system for that.
- mceachen 7y agoFor photos on your website, are you talking about resizing, presentation, or stripping metadata? For resizing and metadata stripping, try the "sharp" npm package. It's fast, well documented, and based on libvips. For pulling metadata, try the "exiftool-vendored" npm package (or just use exiftool directly as a CLI). For presentation, know that srcset is now widely implemented. https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimed...
- komali2 7y agoThanks for the tips. I meant presenting. Like, should I do a fatty grid? Organize by trip? Etc. As for srcset I use it on my blog but something about Hugo causes my images to rotate.... Sometimes. Lol.