Skip to content

Commit

Permalink
Removed /general/ from kinetic page sitemap entry (#1421)
Browse files Browse the repository at this point in the history
  • Loading branch information
edwoodward authored Mar 9, 2023
1 parent a778823 commit 29bf8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ def get_sitemap_urls(self, request=None):
if self.slug == 'kinetic':
return [
{
'location': '{}/general/{}'.format(Site.find_for_request(request).root_url, self.slug),
'location': '{}/{}'.format(Site.find_for_request(request).root_url, self.slug),
'lastmod': (self.last_published_at or self.latest_revision_created_at),
}
]
Expand Down

0 comments on commit 29bf8a6

Please sign in to comment.