kopia lustrzana https://github.com/wagtail/wagtail
sitemap should return the full url
rodzic
7207ab02af
commit
5766224808
|
@ -774,7 +774,7 @@ class Page(six.with_metaclass(PageBase, MP_Node, ClusterableModel, indexed.Index
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
'location': self.url,
|
'location': self.full_url,
|
||||||
'lastmod': latest_revision.created_at if latest_revision else None
|
'lastmod': latest_revision.created_at if latest_revision else None
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Ładowanie…
Reference in New Issue