torchbox/wagtail — pull request #325 by kaedroho (2014-06-17 10:19:39+00:00)
Title: [WIP] Sitemap generator

This adds a sitemap generator to wagtail for automatically generating XML sitemaps for your site.

It currently only sets the 'location' and 'last_mod' attributes.

You can enable it by adding ```wagtal.contrib.wagtailsitemaps``` to ```INSTALLED_APPS``` and adding the following to your URLs.py:

```
from wagtail.contrib.wagtailsitemaps.views import sitemap

urlpatterns = patterns('',
...

url(r'^sitemap\.xml$', sitemap),
)
```