Remove paths for link type markdown files from sitemap #48

Closed
opened 2026-10-05 05:11:28 +02:00 by adam · 2 comments
Owner

VuePress generates a page/path for each markdown file and all those paths generated are being added to the sitemap.
For the markdown files that we are using to link videos, tutorials, etc... we don't want them being added to the sitemap - because those paths shouldn't exist.

So the work here would be to remove those paths from the sitemap and, if possible, remove them from being generated at all.

VuePress generates a page/path for each markdown file and all those paths generated are being added to the sitemap. For the markdown files that we are using to link videos, tutorials, etc... we don't want them being added to the sitemap - because those paths shouldn't exist. So the work here would be to remove those paths from the sitemap and, if possible, remove them from being generated at all. <!-- github-sync-id:835196189 -->
adam closed this issue 2026-10-05 05:11:28 +02:00
Author
Owner

For any pages you wish to remove from the sitemap you can add the following frontmatter:

sitemap:
  exclude: true

Currently the pageData plugin will also remove this from the rss feed so you may need to configure appropriately depending on the desired result.

For any pages you wish to remove from the sitemap you can add the following frontmatter: ``` sitemap: exclude: true ``` Currently the [`pageData`](https://github.com/ipfs/ipfs-blog/blob/main/src/.vuepress/plugins/pageData.js) plugin will also remove this from the rss feed so you may need to configure appropriately depending on the desired result. <!-- github-comment-id:808917621 -->
Author
Owner

Just flagging this as an issue that needs to be addressed prior to site launch. 🙏

Just flagging this as an issue that needs to be addressed prior to site launch. 🙏 <!-- github-comment-id:809506620 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/ipfs-blog#48