Fix sitemap and add tests
This commit is contained in:
parent
6703937dc8
commit
832d3f1fd4
6 changed files with 21 additions and 9 deletions
|
|
@ -12,7 +12,7 @@ class StaticViewSitemap(Sitemap):
|
|||
|
||||
def items(self: StaticViewSitemap) -> list[str]:
|
||||
"""Return all the items in the sitemap."""
|
||||
return ["feeds:index", "feeds:feeds", "feeds:domains"]
|
||||
return ["index", "feeds", "domains"]
|
||||
|
||||
def location(self: StaticViewSitemap, item: str) -> str:
|
||||
"""Return the location of the item."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue