hexojs/hexo-generator-sitemap

exclude something from sitemap

wylyeak opened this issue · 6 comments

how can i exclude something from sitemap

hello 这个项目还在维护吗?

You can do it by setting sitemap to false in post settings. I think this answers your question and issue could be closed.

This plugin generate all html files, but I want to exclude some files. These files is html originally. I can't set sitemap is false.

Same issue, for example README.md

I'm even getting some JS files in the mix. Also some permalinks have 'index.html' in them and some don't. This seems to be a Hexo issue, but can't we set something up to have index.html stripped from the end of URLs.

I think the original question of excluding post from sitemap can be done with sitemap: false front matter.

@joezimjs Could you open new issue describing your use case?
A sample repo would be even better. Thanks.