getpelican/pelican — pull request #538 by bstpierre (2012-10-08 00:38:37+00:00)
Title: Fix #537: sitemap.xml contains pages that don't exist

Added check in `write_url` to verify the page exists in the output dir.

Moved index/archives/tags/categories pages out of the header and create a fake page object to pass to `write_url`.