Emacs的org-mode模式下生成sitemap

请教各位大神一个问题,最近在学用org-mode做日程管理和写日记,如何在自动生成sitemap的时候忽略指定的文件或者文件夹?也就是想让某些内容做为静态页面,不显示在生成的sitemap中呢?

看文档描述是不是配置下 :exclude 就可以了

这个选项好像是在生成html文件的时候不包含的内容,而不是在生成sitemap时忽略的。

exclude选项在生成sipmap之前,已经在files文件列表排除了,自然不会生成sitemap索引,测试了下没有问题,参考: https://orgmode.org/manual/Complex-example.html#Complex-example

:exclude
Regular expression to match file names that should not be published, even though they have been selected on the basis of their extension.