[Blog]: fixed a bug in sitemap hook