GeistHaus
log in · sign up

Responsive image management with Hugo

its.mw

As a believer in text is king, I store all my content in markdown formatted plain text. You know, like grandpa used to do on punch cards but now with links and more octothorpes. Alongside text, I reference images in said text with a ![description of image](image_file.jpg) snippet. In turn, this ends up as HTML rendered by Hugo for browsers to consume. By default, Joe Public viewing the blog receives that image byte for byte as I saved it even when a much smaller image that looks visibly indistinguishable would do.

1 page links to this URL