def page_title_breadcrumbs(*crumbs, **kwargs):
 platform_name = get_value('platform_name', settings.PLATFORM_NAME)
 separator = kwargs.get('separator', ' | ')
 crumbs = [c for c in crumbs if (c is not None)]
 if crumbs:
  return u'{}{}{}'.format(separator.join(crumbs), separator, platform_name)
 else:
  return platform_name

def page_title_breadcrumbs ( * crumbs , ** kwargs ) : platform_name = get_value ( 'platform_name' , settings . PLATFORM_NAME ) separator = kwargs . get ( 'separator' , ' | ' ) crumbs = [ c for c in crumbs if ( c is not None ) ] if crumbs : return u'{}{}{}' . format ( separator . join ( crumbs ) , separator , platform_name ) else : return platform_name
this function creates a suitable page title in the form: specific | less specific | general | edx it will output the correct platform name for the request .