X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/3e0a2c257d49fb162da9c70d2f70194036235166..0f2a8853f243d533e0348c043c3e42175dcb17a5:/skins/custom_generic/expanded_title.py?ds=inline diff --git a/skins/custom_generic/expanded_title.py b/skins/custom_generic/expanded_title.py index 8fce45f..65827f8 100644 --- a/skins/custom_generic/expanded_title.py +++ b/skins/custom_generic/expanded_title.py @@ -3,9 +3,9 @@ ##title=Build title which includes site title ## site_title = context.portal_url.getPortalObject().title_or_id() -page_title = context.title_or_id() +page_title = context.Title() or context.getId() if page_title != site_title: - page_title = site_title + ": " + page_title + page_title = site_title + " : " + page_title return page_title