def filename_to_title(filename):
 if utils.is_homepage(filename):
  return u'Home'
 return utils.filename_to_title(filename)

def filename_to_title ( filename ) : if utils . is_homepage ( filename ) : return u'Home' return utils . filename_to_title ( filename )
automatically generate a default title .