I’m building a sitemap that includes the lastmod attribute.
While I have no problem including this info for blog entries, I’m stalling for regular pages.
The perch:pages namespace (Navigation and Pages) doesn’t provide access to the page modification date. E.g. <perch:pages id="pageModified"> doesn’t return anything.
I tried including a layout in the template which uses `perch_page_modified()` but that breaks the render of the page with the error “Namespace prefix perch on layout is not defined”.
Has anyone successfully built a sitemap with the lastmod attribute for pages?