imathis/octopress — pull request #764 by gotofritz (2012-09-17 22:40:22+00:00)
Title: Sitemap merger rake task for multiple blogs

Based on this discussion https://github.com/imathis/octopress/issues/708

Basically some people use different OP instances to manage multiple blogs under the same umbrella. That kind of works, but you get separate sitemap.xml files.

I have added a rake task, merge_sitemaps to merge all the sitemaps inside public/ into public/sitemap.xml file.

I have also edited the generate task to check for a variable is_multiblog before running merge_sitemaps automatically.