Author here. I have never configured a website like this so I wasn't aware of these problems. Any tips for fixing this?
You can fix this by enabling HTTPS in GitHub pages, so that a valid certificate is served. See GitHub's troubleshooting information: https://help.github.com/en/github/working-with-github-pages/...