Changeset 1081 in products
- Timestamp:
- Jul 13, 2009 1:24:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
qSEOptimizer/trunk/skins/qSEOptimizer/qSEO_Canonical.py
r1080 r1081 17 17 if portal.hasProperty('canonical_url'): 18 18 rpath = context.portal_url.getRelativeUrl(context) 19 if rpath.endswith('index_html') :19 if rpath.endswith('index_html') or rpath.endswith('front-page'): 20 20 rpath = rpath[:-11] 21 21 return portal.getProperty('canonical_url') + rpath
Note: See TracChangeset
for help on using the changeset viewer.