Don't show 404 page at the top in minima theme (GitHub Pages)

I made a custom 404 page for the portfolio I’m making, but with the minima theme enabled, the 404 page link shows at the top. Can I hide this somehow?

It looks like the minima theme generates this automatically unless you specify them in your _config.yml file. You should be able to define what gets shown here by listing the pages you want to appear under the header_pages: variable: