Ver código fonte

[minor] fix sitemap

version-14
Anand Doshi 9 anos atrás
pai
commit
3cfc9a598a
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      frappe/templates/pages/sitemap.py

+ 1
- 1
frappe/templates/pages/sitemap.py Ver arquivo

@@ -25,7 +25,7 @@ def get_context(context):

for route, data in get_generator_routes().iteritems():
links.append({
"loc": urllib.basejoin(host, urllib.quote(route.encode("utf-8"))),
"loc": urllib.basejoin(host, urllib.quote((route or "").encode("utf-8"))),
"lastmod": get_datetime(data.get("modified")).strftime("%Y-%m-%d")
})



Carregando…
Cancelar
Salvar