After my recent site redesign my photo publishing workflow is as follows:
After choosing a photograph in Lightroom, I export it into the images folder of my Hugo-powered site on my computer.
Excellent, epic writing by Paul Ford. The lead ‘Hello World’ picture is by nice person and photographer I’ve coincidentally met in NYC: David Brandon Geeting. I warmly recommend his book ‘Infinite Power’ if you can get a copy!
A few highlights from the gigantic, in web parlance, ‘wall of text’, to help convince you to go read the whole thing:
Compilation is one of the denser subjects in computer science, because the lower down you go, the more opportunities there are to do deep, weird things that can speed up code significantly—and faster is cheaper and better.
Instead of dropping in a block of markup to render as a demo, then copying and pasting it into a pre/code block, then escaping it—then going back and updating both the rendered code and the escaped code should something change: now you just wrap the code you’re rendering in a div and it generates a copy/pastable source snippet.
Simplicity is beautiful! Got this working in my photography site’s ongoing conversion to static-site-with-dynamic-bits. It should all be up later this week and I’ll write about it there and link from here.