Local Hugo development on a Raspberry Pi — VS Code + live preview + Giscus comments
This article documents a working setup to develop a Hugo site on a Raspberry Pi and edit it from a laptop using VS Code Remote‑SSH. It covers:
- Running Hugo (Docker or native) on the Pi with remote access
- Editing with VS Code (Remote‑SSH)
- Where to put new posts
- Adding Giscus (GitHub Discussions) for comments, with a small “refresh comments” helper
- Pushing changes back to GitHub with SSH keys
You can reproduce this end‑to‑end on your own Pi.