The 404.html document created by Pug is not recognized by GitHub Pages. It needs to be copied to the root upon each deployment.