calculate sitemap dir rather than hard coding
Merge pull request #1409 from haarg/no-hardcoded-sitemap-dir

calculate sitemap dir rather than hard coding