Comment

Comment by otras

For the combination of Hugo and GitHub Pages, images are pretty effortless as well. For example, for a post with a path of `content/posts/post-title.md`:

1. Add the image at `content/posts/post-title/image-name.png`

2. Add markdown that references it, like `![alt-text](image-name.png)`

3. Build and push to main, and then the image is available in minutes at `https://<host>/posts/post-title/image-name.png`

Part of the reason I use Hugo is because it's so low friction — the hard part is the writing (and writing consistently), and keeping everything else easy is key.

parent otras 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton