ericalli / static-site-boilerplate

A better workflow for building modern static websites.
http://staticsiteboilerplate.com
MIT License
1.74k stars 163 forks source link

404 file should not be included in sitemap.xml #30

Closed FLasH3r closed 5 years ago

FLasH3r commented 5 years ago

When building the site, 404.html file is generated - which is good, but it is inserted into sitemap.xml - 404.html should not be indexed by search engines.

Reproduce: just follow the simple instructions to install a fresh project from (https://docs.staticsiteboilerplate.com/getting-started/installation?id=step-1-clone-or-download-the-git-repo), and npm run start:dist

Expected behavior 404.html should not be in sitemap.xml (nor sitemap.xml.gz)