You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Key changes:
* Add XML sitemap generation via django.contrib.sitemap
* Wire it into the URLconf
* Expose it in the <head> of the base template
* Support rendering out the XML sitemap when building a static site - note this only works for the default site due to an issue in Wagtail (Once wagtail-nest/wagtail-bakery#37 is resolved we can ditch our custom code and use wagtail-bakery for this, potentially)
WIP on adding sitemaps - had to add the EXPORTED_SITE_URL to the .env to make it work
stevejalim
pushed a commit
to mdn/developer-portal
that referenced
this issue
Nov 27, 2019
* 746: Add an XML sitemap
Key changes:
* Add XML sitemap generation via django.contrib.sitemap
* Wire it into the URLconf
* Expose it in the <head> of the base template
* Support rendering out the XML sitemap when building a static site - note this only works for the default site due to an issue in Wagtail (Once wagtail-nest/wagtail-bakery#37 is resolved we can ditch our custom code and use wagtail-bakery for this, potentially)
WIP on adding sitemaps - had to add the EXPORTED_SITE_URL to the .env to make it work
* 746: Add tests for sitemap generation
Not testing Django code, just testing the code that calls it
Sites need a sitemap and it'd be great to be able to generate this as part of the static build process.
I'm currently putting up a PR to answer this issue.
The text was updated successfully, but these errors were encountered: