Creating a blog post archive at /blog/ without awkwardly publishing a page

For the runcommand website, I wanted the blog archive to live at runcommand.io/blog because I’m using the homepage as an informational archive page. This sort of use case is something WordPress supports, but it requires awkwardly publishing a page and then marking the page as a "Posts page." Instead, I wanted to do it with code. […]