manjaro / website

Official Manjaro Website
https://manjaro.org
Apache License 2.0
9 stars 8 forks source link

Sitemap has links for not existing content pages #44

Closed romangg closed 1 month ago

romangg commented 1 month ago

The automatically created sitemap at https://manjaro.org/sitemap.xml since #42 contains some links to pages, that don't exist:

Screenshot_20240814_131638

These are markdown files in the content directory but as they are not linked and document driven mode is deactivated the pages are not generated (and also not meant to exist).

This could be a bug in the Sitemap Nuxt module.

romangg commented 1 month ago

@nurRiyad, do you have an idea if this is a bug in the Nuxt module or there is some configuration issue with our page?

nurRiyad commented 1 month ago

I will check. Give me some time. Hopefully in the next 48h

nurRiyad commented 1 month ago

There is a way to exclude content folder from generating sitemap. I use that and exclude the /products/device/** not to add in the sitemap. Fixed #45

romangg commented 1 month ago

Fixed by #45.