def create_skeleton(segments, html):
    """
    Create skeleton file

    :param segments: Translation segemnts
    :type segments: list
    :param html: source html document
    :type html: str
    :return: document skeleton
    :rtype: str
    """
    for i, seg in enumerate(segments, 1):
        html = html.replace(seg, '{{{{%{}%}}}}'.format(i), 1)
    return html