Fix site map generator (improvement #358)