Fix feed favicon
This commit is contained in:
parent
e5ae66567a
commit
0edbd9a8e8
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class CustomFeed(DefaultFeed):
|
|||
def add_root_elements(self, handler: SimplerXMLGenerator) -> None:
|
||||
super().add_root_elements(handler)
|
||||
handler.startElement("image", {})
|
||||
handler.addQuickElement("url", self.request.build_absolute_uri("favicon.ico"))
|
||||
handler.addQuickElement("url", self.request.build_absolute_uri("/favicon.ico"))
|
||||
handler.addQuickElement("title", self.feed["title"])
|
||||
handler.addQuickElement("link", self.feed["link"])
|
||||
handler.endElement("image")
|
||||
|
|
Loading…
Reference in a new issue