Selaa lähdekoodia

[minor] fix sitemap

version-14
Anand Doshi 9 vuotta sitten
vanhempi
commit
3cfc9a598a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      frappe/templates/pages/sitemap.py

+ 1
- 1
frappe/templates/pages/sitemap.py Näytä tiedosto

@@ -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")
})



Ladataan…
Peruuta
Tallenna