manjaro / website

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

Sitemap has links for not existing content pages #44

Closed romangg closed 3 months ago

romangg commented 3 months 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 3 months 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 3 months ago

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

nurRiyad commented 3 months 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 3 months ago

Fixed by #45.