this is what i did for my icon as it is a static file:
- url: /favicon.ico static_files: media/img/favicon.ico upload: media/img/favicon.ico
xml sitemap is also a static file, so you can do the same:
- url: /sitemap.xml static_files: my/folder/path/sitemap.xml upload: my/folder/path/sitemap.xml
not quite sure of the download, then. but my icon did not work in the first place without it
edit: if you want a dynamic sitemap, you can follow the instructions in this link to generate them every time a sitemap page is visited
source share