fix #1472 -- make sitemaps work on sites-in-subdir

Signed-off-by: Chris Warrick <kwpolska@gmail.com>