This repository has been archived by the owner on Dec 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
746: Add sitemap support to static site (#829)
* 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
- Loading branch information
Steve Jalim
authored
Nov 27, 2019
1 parent
cb293ef
commit e52ea43
Showing
5 changed files
with
107 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters