Pārlūkot izejas kodu

[minor] fix sitemap

version-14
Anand Doshi pirms 9 gadiem
vecāks
revīzija
3cfc9a598a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      frappe/templates/pages/sitemap.py

+ 1
- 1
frappe/templates/pages/sitemap.py Parādīt failu

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



Notiek ielāde…
Atcelt
Saglabāt