pelican-plugins / sitemap

Generates a site map for Pelican-powered sites
50 stars 11 forks source link

Option to include items that are not generated by Pelican #33

Open sagamusix opened 6 months ago

sagamusix commented 6 months ago

Right now it is already possible to specify pages that should be excluded in the sitemap. Something that would be really useful for me would be inclusion of pages not generated (but still managed) by Pelican, as I have some static documents that should be indexed, but are not generated pages. Pelican manages these files via the STATIC_PATHS and EXTRA_PATH_METADATA functionality, and while I think it might not be a good idea to automatically include anything in that list, having an explicit include configuration setting for adding files from STATIC_PATHS to the sitemap would be very useful.