Hacker News new | ask | show | jobs
by daretorant 1393 days ago
Nice! I have a Hugo site I’ve tweaked over the years, and my workflow is similar to yours. I create/edit an MD file, then run a shell command which pushes changes to Github, which triggers a redeploy.

How do you handle images? That’s my main annoyance / biggest hurdle when publishing. I have to take each image, resize it for web, put it in static folder, and reference that pathname in the MD file. Not a big deal, but would love an easier way. I suppose I could write a simple shell script that does all of the resizing and prints out a path back for me to use.

1 comments

We are working on https://imgs.sh which will try to make optimizing for web automatic as well as making it easy to reference images from your blog.
btw the example image (https://erock.imgs.sh/t/iceland) 404's :(