def make_record(yaml):
    """Create a dictionary object from yaml front matter"""
    
    if 'title' in yaml:
        title = yaml['title']
    else:
        title = "No title"
    record = {
        'title': title,
        'updated': yaml['modified']        
    }
    return record