I love this idea for a grunt task. Great work. The only thing I'm missing, that seems obvious, is having the sitemap nest lists according to a pages level of depth? Thanks.