[1.7.x] Fixed imports in `Sitemap for static views` example

Backport of 344f37718b from master