sitemap.xml is not correctly generated

Besides blog post pages, the sitemap of other pages are not generated correctly.

See my [sitemap.xml](http://www.topbug.net/sitemap.xml) for an example:

You can see entries like

    http://www.topbug.net/about/about/
    http://www.topbug.net/archives/archives/

The paths are repeated twice.