Fix for a part of #1032
merged master
Merge pull request #1042 from getnikola/sitemap_once

Fix for a part of #1032