def feincms_page_title(context, request, path_fragment, is_current_page):
    """
    Set the crumb name to the title of the current FeinCMS page, if one is
    available in the current context.
    """
    # We only want to set the crumb title for the current page
    if not is_current_page:
        return None
    # If a FeinCMS page with a title is set in the context, use as crumb name
    if 'feincms_page' in context and hasattr(context['feincms_page'], 'title'):
        return context['feincms_page'].title
    # If no titled FeinCMS page is available leave template tag to figure out
    # an appropriate crumb name
    return None