Changeset 1081 in products


Ignore:
Timestamp:
Jul 13, 2009 1:24:58 PM (15 years ago)
Author:
chervol
Message:

filtered front-page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qSEOptimizer/trunk/skins/qSEOptimizer/qSEO_Canonical.py

    r1080 r1081  
    1717    if portal.hasProperty('canonical_url'): 
    1818        rpath = context.portal_url.getRelativeUrl(context) 
    19         if rpath.endswith('index_html'): 
     19        if rpath.endswith('index_html') or rpath.endswith('front-page'): 
    2020            rpath = rpath[:-11] 
    2121        return portal.getProperty('canonical_url') + rpath 
Note: See TracChangeset for help on using the changeset viewer.