plone/plone.app.layout

Default pages excluded from sitemap

Opened this issue · 0 comments

Upon examining a particular site's sitemap.xml file, I noticed none of the default pages were included. The code (sitemap.py) indeed appears to include only non-default pages.

In the site control panel under Search, only Page, Event, and News Item are selected. Selecting Folder solves the problem, but it seems the code shouldn't depend on this setting, or it should be documented.

  • Plone 5.1rc2 (5109)
  • CMF 2.2.12
  • Zope 2.13.26
  • Python 2.7.14 (default, Jan 18 2018, 15:00:19) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
  • PIL 4.3.0 (Pillow)