Use the same URL in the sitemap as on the website....

This commit is contained in:
Magnus Hagander
2011-11-27 20:26:07 +01:00
parent 22a93b02fa
commit a4efdddc3a

View File

@ -14,5 +14,5 @@ def get_struct():
yearsold = (now - n.startdate).days / 365
if yearsold > 4:
yearsold = 4
yield ('about/events/%s/' % n.id,
yield ('about/event/%s/' % n.id,
0.5-(yearsold/10.0))