def format_template(template, content):
    """Render a given pystache template
    with given content"""
    import pystache
    result = u''
    if True:
        result = pystache.render(template, content, string_encoding='utf-8')
    return result
