I came across this new org-bars package that shows folding indicators and lines to indicate the groupings. In the reddit discussion I also discovered that there’s another package org-visual-outline but it actually requires configuring two packages so I didn’t try it.
However, based on the discussion in the comments it seems that
org-bars supports narrowing of the buffer (and it works great) which visual-outline does not. I discovered a visual bug and filed a report, so hopefully it’s an easy fix but it’s not a breaking issue.
Here’s the configuration I’m using based on the recommendations in the documentation.
Here’s a screenshot of my Hugo content buffer showing