if 'title' in context:
        title = context['title']
    elif 'title' in kwargs:
        title = kwargs['title']
    else: